feat: avoid navigation sidebar layout shifts while loading

This commit is contained in:
patak 2022-12-22 09:31:12 +01:00
parent a2da1b2ee1
commit 9ccc24e845
4 changed files with 48 additions and 22 deletions

View file

@ -11,7 +11,7 @@
<div flex="~ col" overflow-y-auto justify-between h-full>
<div flex flex-col>
<NavSide />
<PublishButton v-if="isMastoInitialised && currentUser" m5 />
<PublishButton m5 />
</div>
<div flex flex-col>
<UserSignInEntry v-if="isMastoInitialised && !currentUser" sm:hidden />