File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ defineExpose({
4949
5050 <div class =" search-box relative flex items-center" >
5151 <span
52- class =" absolute inset-is-4 text-fg-subtle font-mono text-lg pointer-events-none transition-colors duration-200 motion-reduce:transition-none [.group:hover:not(:focus-within)_& ]:text-fg/80 group-focus-within:text-accent z-1"
52+ class =" absolute text-fg-subtle font-mono pointer-events-none transition-colors duration-200 motion-reduce:transition-none [.group:hover:not(:focus-within)_& ]:text-fg/80 group-focus-within:text-accent z-1"
53+ :class =" compact ? 'inset-is-3 text-sm' : 'inset-is-4 text-xl'"
5354 >
5455 /
5556 </span >
@@ -62,11 +63,9 @@ defineExpose({
6263 name =" q"
6364 :placeholder =" $t('search.placeholder')"
6465 v-bind =" noCorrect"
65- class =" w-full bg-bg-subtle border border-border font-mono text-fg placeholder:text-fg-subtle transition-[border-color,outline-color] duration-300 motion-reduce:transition-none hover:border-fg-subtle outline-2 outline-transparent focus:border-accent focus-visible:(outline-2 outline-accent/70)"
66+ class =" w-full bg-bg-subtle border border-border text-base font-mono text-fg placeholder:text-fg-subtle transition-[border-color,outline-color] duration-300 motion-reduce:transition-none hover:border-fg-subtle outline-2 outline-transparent focus:border-accent focus-visible:(outline-2 outline-accent/70)"
6667 :class ="
67- compact
68- ? 'ps-7 pe-3 py-1.5 rounded-md text-sm'
69- : 'ps-8 pe-24 h-14 py-4 rounded-xl text-base'
68+ compact ? 'ps-7 pe-3 py-1.5 rounded-md text-sm!' : 'ps-8 pe-24 h-14 py-4 rounded-xl'
7069 "
7170 @blur =" handleBlur"
7271 @focus =" handleFocus"
You can’t perform that action at this time.
0 commit comments