diff --git a/app.vue b/app.vue index 1022586e18..31cc43a170 100644 --- a/app.vue +++ b/app.vue @@ -12,4 +12,13 @@ const key = computed(() => `${currentUser.value?.server ?? currentServer.value}: + + + + + + + + + diff --git a/components/account/AccountAvatar.vue b/components/account/AccountAvatar.vue index cce85f9b72..e12e658e6e 100644 --- a/components/account/AccountAvatar.vue +++ b/components/account/AccountAvatar.vue @@ -18,7 +18,8 @@ const error = $ref(false) :src="error ? 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' : account.avatar" :alt="$t('account.avatar_description', [account.username])" loading="lazy" - :class="(loaded ? 'bg-base' : 'bg-gray:10') + (square ? ' rounded-3' : ' rounded-full')" + :class="(loaded ? 'bg-base' : 'bg-gray:10') + (square ? ' ' : ' rounded-full')" + :style="{ 'clip-path': square ? `url(#avatar-mask)` : 'none' }" v-bind="$attrs" @load="loaded = true" @error="error = true"