mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs: improve search button on mobile
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
</template>
|
||||
|
||||
<template v-if="$route.path !== '/'" #center>
|
||||
<UDocsSearchButton class="ml-1.5 flg:w-64 xl:w-96" />
|
||||
<UDocsSearchButton class="ml-1.5 hidden lg:flex lg:w-64 xl:w-96" />
|
||||
</template>
|
||||
|
||||
<template #right>
|
||||
<ColorPicker />
|
||||
|
||||
<UDocsSearchButton v-if="$route.path === '/'" icon-only />
|
||||
<UDocsSearchButton :class="[$route.path !== '/' && 'lg:hidden']" icon-only />
|
||||
|
||||
<UColorModeButton v-if="!$colorMode.forced" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user