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

* fix: reset button/input fonts set by UA

* fix: inherit line-height as well
This commit is contained in:
Mary
2024-03-01 06:30:17 +07:00
committed by GitHub
parent 04d4c9779f
commit 21bdddcfbe
2 changed files with 12 additions and 0 deletions
+6
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 {
+6
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 {