Work on note component
All checks were successful
/ docker (push) Successful in 1m57s

This commit is contained in:
Melody Becker 2025-07-18 11:27:20 +02:00
parent 369453794b
commit 594f87f240
14 changed files with 226 additions and 43 deletions

View file

@ -8,6 +8,7 @@ import { vi } from 'vitest'
const props = defineProps<{
media?: MediaMetadata
username: string
size: number
}>()
/* async function calcBackgroundColor() {
@ -45,7 +46,7 @@ async function calcBackgroundStyle() {
Get primary color of the image, invert it and set as background for higher contrast in case of transparency
calcBackgroundStyle *should* do it, but async and vue no like
-->
<img :src="props.media.url" :alt="props.media.alt" height="52" width="52" ref="profilePicture"/>
<img :src="props.media.url" :alt="props.media.alt" :height="props.size" :width="props.size" ref="profilePicture"/>
</div>
<div
v-else