Fix search field styling in Safari

Not sure when this broke, but this disables the default search field style that has shown up. On linght mode it’s ugly but usable, but in dark mode it’s impossible to read your search terms.
This commit is contained in:
Robin Whittleton 2019-12-01 13:12:59 +01:00 committed by Alex Cabal
parent 4cd0abd034
commit e8fae98f45

View file

@ -1495,7 +1495,8 @@ input[type="search"]{
color: var(--body-text);
}
/* remove some styles from Chromium */
/* remove some styles from Chromium / Webkit */
input[type="search"],
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button{
-webkit-appearance: none;