feat: keep timeline at 600px for md and lg screens

This commit is contained in:
patak 2023-01-03 14:48:13 +01:00
parent 61a141ae69
commit f8703fc1c1
6 changed files with 17 additions and 17 deletions

View file

@ -20,7 +20,7 @@ const { notifications } = useNotifications()
</NavSideItem>
<!-- Use Search for small screens once the right sidebar is collapsed -->
<NavSideItem :text="$t('nav.search')" to="/search" icon="i-ri:search-line" lg:hidden :command="command" />
<NavSideItem :text="$t('nav.search')" to="/search" icon="i-ri:search-line" xl:hidden :command="command" />
<NavSideItem :text="$t('nav.explore')" :to="`/${currentServer}/explore`" icon="i-ri:hashtag" :command="command" />
<NavSideItem :text="$t('nav.local')" :to="`/${currentServer}/public/local`" icon="i-ri:group-2-line " :command="command" />

View file

@ -60,7 +60,7 @@ const noUserVisual = computed(() => isMastoInitialised.value && props.userOnly &
flex items-center gap4
w-fit rounded-full
px2 py2 mx3 sm:mxa
lg="mx0 px5"
xl="mx0 px5"
transition-100
group-hover:bg-active group-focus-visible:ring="2 current"
>
@ -68,7 +68,7 @@ const noUserVisual = computed(() => isMastoInitialised.value && props.userOnly &
<div :class="icon" text-xl />
</slot>
<slot>
<span block sm:hidden lg:block>{{ text }}</span>
<span block sm:hidden xl:block>{{ text }}</span>
</slot>
</div>
</CommonTooltip>

View file

@ -8,15 +8,15 @@ const sub = env === 'local' ? 'dev' : env === 'staging' ? 'preview' : 'alpha'
<NuxtLink
flex items-end gap-2
w-fit
py2 px-2 lg:px-3
py2 px-2 xl:px-3
text-2xl hover:bg-active
focus-visible:ring="2 current"
rounded-full
to="/"
external
>
<img :alt="$t('app_logo')" src="/logo.svg" shrink-0 aspect="1/1" sm:h-8 lg:h-10 class="rtl-flip">
<div hidden lg:block>
<img :alt="$t('app_logo')" src="/logo.svg" shrink-0 aspect="1/1" sm:h-8 xl:h-10 class="rtl-flip">
<div hidden xl:block>
{{ $t('app_name') }} <sup text-sm italic text-secondary mt-1>{{ sub }}</sup>
</div>
</NuxtLink>