mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-06 20:28:48 +00:00
FIX: minor issue with abbr
This commit is contained in:
parent
992b18c9de
commit
7b4f360a5e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export default function Search({ options, classN }) {
|
|||
type="search"
|
||||
autoFocus
|
||||
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`}
|
||||
placeholder="Search..."
|
||||
onChange={(s) => setQuery(s.currentTarget.value)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue