forked from Mirrors/elk
refactor: use css breakpoints
This commit is contained in:
parent
c648d23115
commit
6849fde9cc
1 changed files with 4 additions and 4 deletions
|
@ -14,10 +14,10 @@
|
||||||
<PublishButton v-if="isMastoInitialised && currentUser" m5 />
|
<PublishButton v-if="isMastoInitialised && currentUser" m5 />
|
||||||
</div>
|
</div>
|
||||||
<div flex flex-col>
|
<div flex flex-col>
|
||||||
<UserSignInEntry v-if="isMastoInitialised && !currentUser && !isSmallScreen && !isMediumScreen" />
|
<UserSignInEntry v-if="isMastoInitialised && !currentUser" sm:hidden />
|
||||||
<div v-if="isMastoInitialised && currentUser" p6 pb8 w-full flex="~" items-center justify-between>
|
<div v-if="isMastoInitialised && currentUser" p6 pb8 w-full flex="~" items-center justify-between>
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
v-if="!isMediumScreen"
|
hidden lg:block
|
||||||
rounded-full text-start w-full
|
rounded-full text-start w-full
|
||||||
hover:bg-active cursor-pointer transition-100
|
hover:bg-active cursor-pointer transition-100
|
||||||
:to="getAccountRoute(currentUser.account)"
|
:to="getAccountRoute(currentUser.account)"
|
||||||
|
@ -26,8 +26,8 @@
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<VDropdown :distance="0" placement="bottom-end">
|
<VDropdown :distance="0" placement="bottom-end">
|
||||||
<button btn-action-icon :aria-label="$t('action.switch_account')">
|
<button btn-action-icon :aria-label="$t('action.switch_account')">
|
||||||
<div v-if="!isMediumScreen" i-ri:more-2-line />
|
<div hidden lg:block i-ri:more-2-line />
|
||||||
<AccountAvatar v-else :account="currentUser.account" w-9 h-9 />
|
<AccountAvatar lg:hidden :account="currentUser.account" w-9 h-9 />
|
||||||
</button>
|
</button>
|
||||||
<template #popper="{ hide }">
|
<template #popper="{ hide }">
|
||||||
<UserSwitcher @click="hide" />
|
<UserSwitcher @click="hide" />
|
||||||
|
|
Loading…
Reference in a new issue