1
0

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()" /> <UserSwitcher ref="switcher" @click="hide()" />
</template> </template>
</VDropdown> </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') }} {{ $t('action.sign_in') }}
</button> </button>
</template> </template>

View File

@ -8,7 +8,7 @@
<p text-sm text-secondary> <p text-sm text-secondary>
{{ $t('user.sign_in_desc') }} {{ $t('user.sign_in_desc') }}
</p> </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') }} {{ $t('action.sign_in') }}
</button> </button>
</div> </div>

View File

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