fix: sign in button in md, lg

This commit is contained in:
patak 2023-01-05 15:03:45 +01:00
parent 79bd9830c9
commit dede688bf2
3 changed files with 5 additions and 3 deletions

View file

@ -15,7 +15,7 @@
<UserSwitcher ref="switcher" @click="hide()" />
</template>
</VDropdown>
<button v-else btn-solid text-sm px-2 py-1 text-center lg:hidden @click="openSigninDialog()">
<button v-else btn-solid text-sm px-2 py-1 text-center xl:hidden @click="openSigninDialog()">
{{ $t('action.sign_in') }}
</button>
</template>

View file

@ -8,7 +8,7 @@
<p text-sm text-secondary>
{{ $t('user.sign_in_desc') }}
</p>
<button btn-solid text-center mt-2 @click="openSigninDialog()">
<button btn-solid rounded-3 text-center mt-2 @click="openSigninDialog()">
{{ $t('action.sign_in') }}
</button>
</div>

View file

@ -17,7 +17,9 @@ const wideLayout = computed(() => route.meta.wideLayout ?? false)
<PublishButton ms5.5 mt4 xl:me8 xl:ms4 />
</div>
<div v-if="isMastoInitialised" flex flex-col>
<UserSignInEntry v-if="!currentUser" sm:hidden />
<div hidden xl:block>
<UserSignInEntry v-if="!currentUser" />
</div>
<div v-if="currentUser" p6 pb8 w-full>
<div hidden xl-block>
<UserPicker v-if="showUserPicker" />