Compare commits

...

4 commits

Author SHA1 Message Date
Daniel Roe
30a4bed80f
Merge branch 'main' into fix/avatar-outline 2023-01-08 14:16:30 +00:00
Daniel Roe
0b921da092
chore: use attributify 2023-01-08 14:15:37 +00:00
Daniel Roe
42ca3a1967
chore: simplify obj 2023-01-08 14:15:05 +00:00
Piotr Tomczewski
5d1b62e219 fix(avatar): add outline in reblogged and replied statues 2023-01-07 15:16:30 +01:00

View file

@ -11,7 +11,7 @@ defineProps<{
</script>
<template>
<div :key="account.avatar" v-bind="$attrs" :style="{ 'clip-path': square ? `url(#avatar-mask)` : 'none' }" :class="{ 'rounded-full': !square }" bg-base w-54px h-54px flex items-center justify-center>
<div :key="account.avatar" v-bind="$attrs" :style="{ 'clip-path': square ? `url(#avatar-mask)` : 'none' }" :class="{ 'rounded-full bg-base': !square }" w-54px h-54px flex items-center justify-center>
<AccountAvatar :account="account" w-48px h-48px :square="square" />
</div>
</template>