Reset button/input font set by UA (#3038)

* fix: reset button/input fonts set by UA

* fix: inherit line-height as well
zio/stable
Mary 2024-03-01 06:30:17 +07:00 committed by GitHub
parent 04d4c9779f
commit 21bdddcfbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View File

@ -44,6 +44,12 @@
scrollbar-gutter: stable both-edges;
}
/* Buttons and inputs have a font set by UA, so we'll have to reset that */
button, input, textarea {
font: inherit;
line-height: inherit;
}
/* Color theming */
/* Default will always be white */
:root {

View File

@ -48,6 +48,12 @@
scrollbar-gutter: stable both-edges;
}
/* Buttons and inputs have a font set by UA, so we'll have to reset that */
button, input, textarea {
font: inherit;
line-height: inherit;
}
/* Color theming */
/* Default will always be white */
:root {