mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 15:43:16 +08:00
A11Y: Use dynamic type scaling on iOS devices (#15967)
This commit is contained in:
parent
6394d7cddf
commit
9be2717e3b
|
@ -4,8 +4,13 @@
|
|||
|
||||
html {
|
||||
color: var(--primary);
|
||||
font-family: $base-font-family;
|
||||
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;
|
||||
background-color: var(--secondary);
|
||||
overflow-y: scroll;
|
||||
|
|
Loading…
Reference in New Issue
Block a user