File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ defineExpose({ focus })
116116 class =" w-full min-w-25 ps-7"
117117 @focus =" isSearchFocused = true"
118118 @blur =" isSearchFocused = false"
119+ size =" small"
119120 />
120121 <button type =" submit" class =" sr-only" >{{ $t('search.button') }}</button >
121122 </div >
Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ defineExpose({
4242 v-bind =" props.noCorrect ? noCorrect : undefined"
4343 @focus =" emit('focus', $event)"
4444 @blur =" emit('blur', $event)"
45- class =" leading-none bg-bg-subtle border border-border font-mono text-fg placeholder:text-fg-subtle transition-[border-color,outline-color] duration-300 hover:border-fg-subtle outline-2 outline-transparent outline-offset-2 focus:border-accent focus-visible:outline-accent/70 disabled:(opacity-50 cursor-not-allowed)"
45+ class =" bg-bg-subtle border border-border font-mono text-fg placeholder:text-fg-subtle transition-[border-color,outline-color] duration-300 hover:border-fg-subtle outline-2 outline-transparent outline-offset-2 focus:border-accent focus-visible:outline-accent/70 disabled:(opacity-50 cursor-not-allowed)"
4646 :class =" {
47- 'text-xs px-2 py-1.25 h-8 rounded-md': size === 'small',
48- 'text-sm px-3 py-2.5 h-10 rounded-lg': size === 'medium',
49- 'text-base px-6 py-3.5 h-14 rounded-xl': size === 'large',
47+ 'text-xs leading-[1.2] px-2 py-2 rounded-md': size === 'small',
48+ 'text-sm leading-none px-3 py-2.5 rounded-lg': size === 'medium',
49+ 'text-base leading-none px-6 py-3.5 h-14 rounded-xl': size === 'large',
5050 }"
5151 :disabled ="
5252 /** Catching Vue render-bug of invalid `disabled=false` attribute in the final HTML */
You can’t perform that action at this time.
0 commit comments