feat: use square avatars for logged in user

This commit is contained in:
patak 2023-01-05 13:10:22 +01:00
parent 640075fed1
commit e5a9bd7370
6 changed files with 9 additions and 6 deletions

View file

@ -6,11 +6,12 @@ import type { Account } from 'masto'
defineProps<{
account: Account
square?: boolean
}>()
</script>
<template>
<div :key="account.avatar" v-bind="$attrs" rounded-full bg-base w-54px h-54px flex items-center justify-center>
<AccountAvatar :account="account" w-48px h-48px />
<AccountAvatar :account="account" w-48px h-48px :square="square" />
</div>
</template>