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:
parent
04d4c9779f
commit
21bdddcfbe
2 changed files with 12 additions and 0 deletions
|
@ -44,6 +44,12 @@
|
||||||
scrollbar-gutter: stable both-edges;
|
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 */
|
/* Color theming */
|
||||||
/* Default will always be white */
|
/* Default will always be white */
|
||||||
:root {
|
:root {
|
||||||
|
|
|
@ -48,6 +48,12 @@
|
||||||
scrollbar-gutter: stable both-edges;
|
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 */
|
/* Color theming */
|
||||||
/* Default will always be white */
|
/* Default will always be white */
|
||||||
:root {
|
:root {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue