feat: search back to the right (#2071)

This commit is contained in:
patak 2023-05-06 17:49:15 +02:00 committed by GitHub
parent c9265028d2
commit 126cd4d535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -7,7 +7,6 @@ const { notifications } = useNotifications()
<template>
<nav sm:px3 flex="~ col gap2" shrink text-size-base leading-normal md:text-lg h-full mt-1 overflow-y-auto>
<SearchWidget lg:ms-1 lg:me-5 hidden xl:block />
<NavSideItem :text="$t('nav.search')" :to="isHydrated ? `/${currentServer}/explore` : '/explore'" icon="i-ri:search-line" hidden sm:block xl:hidden :command="command" />
<div class="spacer" shrink hidden sm:block />

View file

@ -62,6 +62,7 @@ const isGrayscale = usePreferences('grayscaleMode')
<aside v-if="isHydrated && !wideLayout" class="hidden lg:w-1/5 xl:w-1/4 sm:none xl:block native:w-full zen-hide">
<div sticky top-0 h-100dvh flex="~ col" gap-2 py3 ms-2>
<slot name="right">
<SearchWidget mt-4 mx-1 hidden xl:block />
<div flex-auto />
<PwaPrompt />