fix: 🐛 Fix various layout issues from previous update
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 0s
Deploy to GitHub Pages / build (push) Failing after 0s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 0s
Mirror to Codeberg / Mirror (push) Failing after 0s

This commit is contained in:
Jesse Wierzbinski 2025-04-15 23:31:50 +02:00
parent ba0b5bf4ad
commit e0204e234b
No known key found for this signature in database
6 changed files with 45 additions and 38 deletions

View file

@ -1,5 +1,5 @@
<template>
<Avatar :class="shape.value === 'square' && 'rounded-md'">
<Avatar :class="[shape.value === 'square' && 'rounded-md', 'bg-secondary']">
<AvatarFallback v-if="name">
{{ getInitials(name) }}
</AvatarFallback>

View file

@ -16,8 +16,7 @@
class="absolute bottom-0 translate-y-1/3 left-4 flex flex-row items-start gap-2"
>
<Avatar
size="lg"
class="border"
class="size-32 border"
:src="avatar"
:name="displayName"
/>

View file

@ -30,7 +30,7 @@
</Button>
</ProfileActions>
</div>
<div class="flex flex-col -mt-1 gap-2 justify-center">
<div class="flex flex-col -mt-1 gap-1 justify-center">
<CardTitle class="" v-render-emojis="account.emojis">
{{ account.display_name }}
</CardTitle>
@ -45,10 +45,10 @@
>
</CopyableText>
</div>
<ProfileBadges :account="account" />
<ProfileBadges :account="account" class="my-2" />
<ProfileContent :content="account.note" :emojis="account.emojis" />
</CardContent>
<CardFooter>
<CardFooter class="flex-col *:w-full gap-4">
<ProfileStats
:creation-date="new Date(account.created_at || 0)"
:follower-count="account.followers_count"