Respect font settings on input elements

The browsers override these instead of using the normal inheritance. So
make sure our global font settings are respected.
This commit is contained in:
Pierre Ossman
2022-10-11 13:51:57 +02:00
parent a8488d5b32
commit bdc0bbbb4f

View File

@@ -98,6 +98,11 @@ html {
* ----------------------------------------
*/
input, select, textarea {
/* Respect standard font settings */
font: inherit;
}
input:not([type]),
input[type=date],
input[type=datetime-local],