mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-18 00:51:47 +03:00
feat: search back to the right (#2071)
This commit is contained in:
parent
c9265028d2
commit
126cd4d535
2 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,6 @@ const { notifications } = useNotifications()
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<nav sm:px3 flex="~ col gap2" shrink text-size-base leading-normal md:text-lg h-full mt-1 overflow-y-auto>
|
<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" />
|
<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 />
|
<div class="spacer" shrink hidden sm:block />
|
||||||
|
|
|
@ -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">
|
<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>
|
<div sticky top-0 h-100dvh flex="~ col" gap-2 py3 ms-2>
|
||||||
<slot name="right">
|
<slot name="right">
|
||||||
|
<SearchWidget mt-4 mx-1 hidden xl:block />
|
||||||
<div flex-auto />
|
<div flex-auto />
|
||||||
|
|
||||||
<PwaPrompt />
|
<PwaPrompt />
|
||||||
|
|
Loading…
Reference in a new issue