Skip to content

Commit 884813d

Browse files
authored
[6.x] Command palette improvements (#13356)
1 parent cef72d4 commit 884813d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/js/components/global-header/Search.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ import { Icon } from '@ui';
66
<template>
77
<CommandPalette>
88
<div class="
9-
data-[focus-visible]:outline-focus hover flex cursor-text justify-center sm:justify-start items-center gap-x-1.5 group h-8
10-
rounded-lg [button:has(>&)]:rounded-md bg-black/40 text-xs text-white/60 outline-none
11-
border-b border-b-white/20 inset-shadow-sm inset-shadow-black/20
9+
data-[focus-visible]:outline-focus hover flex cursor-pointer justify-center sm:justify-start items-center gap-x-1.5 group h-8
10+
rounded-xl [button:has(>&)]:rounded-xl bg-black/40 text-xs text-white/60 outline-none
11+
ring-1 ring-white/10
1212
w-8 sm:w-32 sm:px-2 md:py-[calc(5/16*1rem)]
1313
hover:bg-black/45 hover:text-white/70
1414
">
1515
<Icon name="magnifying-glass" class="size-5 flex-none text-white/50 group-hover:text-white/70" />
1616
<span class="sr-only leading-none sm:not-sr-only st-text-trim-cap">{{ __('Search') }}</span>
17-
<kbd class="ml-auto hidden self-center rounded bg-white/5 px-[0.3125rem] py-[0.0625rem] text-[0.625rem]/4 font-medium text-white/60 group-hover:text-white/70 ring-1 ring-white/7.5 [word-spacing:-0.15em] ring-inset md:block">
17+
<kbd class="ml-auto hidden self-center rounded-md bg-white/5 px-[0.3125rem] py-[0.0625rem] text-[0.625rem]/4 font-medium text-white/60 group-hover:text-white/70 ring-1 ring-white/7.5 [word-spacing:-0.15em] ring-inset md:block">
1818
<kbd class="font-sans">⌘ </kbd><kbd class="font-sans">K</kbd>
1919
</kbd>
2020
</div>

0 commit comments

Comments
 (0)