chore: tweak searchbar styles

This commit is contained in:
Steven
2024-05-08 22:50:13 +08:00
parent a4235bb4bf
commit 33133ea1a3
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ const SearchBar = () => {
<div className="relative w-full h-auto flex flex-row justify-start items-center"> <div className="relative w-full h-auto flex flex-row justify-start items-center">
<Icon.Search className="absolute left-3 w-4 h-auto opacity-30" /> <Icon.Search className="absolute left-3 w-4 h-auto opacity-30" />
<input <input
className="w-full text-gray-500 dark:text-gray-400 bg-zinc-50 dark:bg-zinc-900 border dark:border-zinc-800 text-sm leading-6 rounded-lg p-1 pl-8 outline-none" className="w-full text-gray-500 dark:text-gray-400 bg-zinc-50 dark:bg-zinc-900 border dark:border-zinc-800 text-sm leading-7 rounded-lg p-1 pl-8 outline-none"
placeholder={t("memo.search-placeholder")} placeholder={t("memo.search-placeholder")}
value={queryText} value={queryText}
onChange={handleTextQueryInput} onChange={handleTextQueryInput}

View File

@ -7,7 +7,7 @@ body {
} }
html.dark { html.dark {
color-scheme: dark; color-scheme: dark;
scrollbar-color: hsla(0, 0%, 100%, .4) hsla(0, 0%, 100%, .029); scrollbar-color: hsla(0, 0%, 100%, 0.4) hsla(0, 0%, 100%, 0.029);
} }
html.light { html.light {
color-scheme: light; color-scheme: light;