mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
fix: conditional auto padding being applied on user avatars
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
<Avatar size="xs" :src="organization.icon_url" :raised="raised" no-shadow />
|
||||
</nuxt-link>
|
||||
<nuxt-link v-else-if="user" :to="getUserLink(user)" tabindex="-1">
|
||||
<Avatar size="xs" :src="user.avatar_url" :raised="raised" no-shadow />
|
||||
<Avatar size="xs" :src="user.avatar_url" :raised="raised" no-shadow circle />
|
||||
</nuxt-link>
|
||||
<Avatar v-else size="xs" :raised="raised" no-shadow />
|
||||
</template>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<div
|
||||
class="flex items-center gap-2 rounded-2xl border border-solid border-surface-5 bg-surface-4 p-4"
|
||||
>
|
||||
<Avatar :src="auth.user.avatar_url" size="32px" />
|
||||
<Avatar :src="auth.user.avatar_url" size="32px" circle />
|
||||
<span class="font-medium text-contrast">{{ auth.user.username }}</span>
|
||||
|
||||
<Button type="quiet" color="red" native-type="button" class="ml-auto" @click="logout">
|
||||
|
||||
Reference in New Issue
Block a user