mirror of
https://github.com/gethomepage/homepage.git
synced 2025-06-03 13:44:28 -04:00
FIX: minor issue with abbr
This commit is contained in:
parent
992b18c9de
commit
7b4f360a5e
@ -55,7 +55,7 @@ export default function Search({ options, classN }) {
|
|||||||
type="search"
|
type="search"
|
||||||
autoFocus
|
autoFocus
|
||||||
className={`block ${
|
className={`block ${
|
||||||
options.customdata.abbr.length > 1 ? "pl-12" : "pl-10"
|
options.customdata && options.customdata.abbr && options.customdata.abbr.length > 1 ? "pl-12" : "pl-10"
|
||||||
} w-full text-sm text-gray-900 bg-gray-50 rounded-full border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 h-full`}
|
} w-full text-sm text-gray-900 bg-gray-50 rounded-full border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 h-full`}
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
onChange={(s) => setQuery(s.currentTarget.value)}
|
onChange={(s) => setQuery(s.currentTarget.value)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user