fix: Focus search input style on safari (#613)
This commit is contained in:
parent
a775203bdc
commit
5e86d2a3da
|
@ -52,7 +52,7 @@ const activate = () => {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div ref="el" relative px4 py2 group>
|
<div ref="el" relative px4 py2 group>
|
||||||
<div bg-base border="~ base" h10 rounded-full flex="~ row" items-center relative outline-primary outline-1 focus-within:outline>
|
<div bg-base border="~ base" h10 rounded-full flex="~ row" items-center relative focus-within:box-shadow-outline>
|
||||||
<div i-ri:search-2-line mx4 absolute pointer-events-none text-secondary mt="1px" />
|
<div i-ri:search-2-line mx4 absolute pointer-events-none text-secondary mt="1px" />
|
||||||
<input
|
<input
|
||||||
ref="input"
|
ref="input"
|
||||||
|
|
|
@ -103,5 +103,6 @@ export default defineConfig({
|
||||||
res += `\n${res.replace('{scrollbar-width:none;}', '::-webkit-scrollbar{display: none;}')}`
|
res += `\n${res.replace('{scrollbar-width:none;}', '::-webkit-scrollbar{display: none;}')}`
|
||||||
return res
|
return res
|
||||||
}],
|
}],
|
||||||
|
['box-shadow-outline', { 'box-shadow': '0 0 0 1px var(--c-primary)' }],
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue