style: searchbar

This commit is contained in:
Jing Hua 2023-04-07 18:29:54 +08:00
parent 6c12e67393
commit 96bf1c50fb

View file

@ -19,7 +19,7 @@ const SearchBar = ({
<input <input
disabled={disabled} disabled={disabled}
type='text' type='text'
className='text-gray-800 dark:text-white p-3 text-sm bg-gray-700 disabled:opacity-40 disabled:cursor-not-allowed transition-opacity m-0 w-full h-full focus:outline-none rounded border-none' className='text-gray-800 dark:text-white p-3 text-sm bg-transparent disabled:opacity-40 disabled:cursor-not-allowed transition-opacity m-0 w-full h-full focus:outline-none rounded border border-white/20'
placeholder={t('search') as string} placeholder={t('search') as string}
value={value} value={value}
onChange={(e) => { onChange={(e) => {