fix: NavUser avatar height on small screens
parent
4713db9adc
commit
17fecebcae
|
@ -14,8 +14,8 @@ defineProps<{
|
||||||
pt="[env(safe-area-inset-top,0)]"
|
pt="[env(safe-area-inset-top,0)]"
|
||||||
border="b base" bg="[rgba(var(--c-bg-base-rgb),0.7)]"
|
border="b base" bg="[rgba(var(--c-bg-base-rgb),0.7)]"
|
||||||
>
|
>
|
||||||
<div flex justify-between px5 py4>
|
<div flex justify-between px5 py2>
|
||||||
<div flex gap-3 items-center overflow-hidden>
|
<div flex gap-3 items-center overflow-hidden py2>
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
v-if="backOnSmallScreen || back" flex="~ gap1" items-center btn-text p-0
|
v-if="backOnSmallScreen || back" flex="~ gap1" items-center btn-text p-0
|
||||||
:class="{ 'lg:hidden': backOnSmallScreen }"
|
:class="{ 'lg:hidden': backOnSmallScreen }"
|
||||||
|
@ -32,6 +32,7 @@ defineProps<{
|
||||||
<slot name="actions" />
|
<slot name="actions" />
|
||||||
<PwaBadge lg:hidden />
|
<PwaBadge lg:hidden />
|
||||||
<NavUser v-if="isMastoInitialised" />
|
<NavUser v-if="isMastoInitialised" />
|
||||||
|
<NavUserSkeleton v-else />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<slot name="header" />
|
<slot name="header" />
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
<AccountAvatar
|
<AccountAvatar
|
||||||
ref="avatar"
|
ref="avatar"
|
||||||
:account="currentUser.account"
|
:account="currentUser.account"
|
||||||
h="2em"
|
h-8
|
||||||
|
w-8
|
||||||
:draggable="false"
|
:draggable="false"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
<template>
|
||||||
|
<div bg-base h-8 w-8 rounded-full />
|
||||||
|
</template>
|
Loading…
Reference in New Issue