mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
web: fix autocomplete text color for all inputs (#2057)
Signed-off-by: Abdulrehman-Jafer <abdulrehmanjaferwork01233@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f842700192
commit
dfa718f8ea
@@ -29,7 +29,7 @@ function SearchBox(props) {
|
||||
id="search"
|
||||
name="search"
|
||||
type="text"
|
||||
sx={{ m: 0, mx: 1, mt: 1 }}
|
||||
sx={{m: 0,mx: 1,mt: 1}}
|
||||
placeholder="Type your query here"
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter") props.onSearch(e.target.value);
|
||||
|
||||
@@ -27,6 +27,11 @@ const defaultVariant: ThemeUIStyleObject = {
|
||||
fontWeight: "body",
|
||||
fontSize: "input",
|
||||
color: "text",
|
||||
":-webkit-autofill": {
|
||||
WebkitTextFillColor: "var(--text)",
|
||||
caretColor: "red",
|
||||
fontSize: "inherit"
|
||||
},
|
||||
":focus": {
|
||||
outline: "2px solid var(--primary)"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user