mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
A11Y: Use dynamic type scaling on iOS devices (#15967)
This commit is contained in:
parent
6394d7cddf
commit
9be2717e3b
@ -4,8 +4,13 @@
|
|||||||
|
|
||||||
html {
|
html {
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
font-family: $base-font-family;
|
|
||||||
font-size: $base-font-size;
|
font-size: $base-font-size;
|
||||||
|
// This is intentionally set after the font-size, but before font-family
|
||||||
|
@supports (font: -apple-system-body) and (-webkit-touch-callout: none) {
|
||||||
|
// only applied to iOS devices
|
||||||
|
font: -apple-system-body;
|
||||||
|
}
|
||||||
|
font-family: $base-font-family;
|
||||||
line-height: $line-height-large;
|
line-height: $line-height-large;
|
||||||
background-color: var(--secondary);
|
background-color: var(--secondary);
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
Loading…
Reference in New Issue
Block a user