Skip to content

Commit afe9d61

Browse files
committed
chore(docs): set text inflation to consistent baseline
1 parent 0e241e1 commit afe9d61

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: src/routes/_index/+layout.style.scss

+9
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@
2121

2222
/* stylelint-disable no-descending-specificity */
2323

24+
/*
25+
Some browsers, especially within mobile devices, include an automatic mechanism for inflating text to help readability. We're turning that off here to get to a consistent baseline.
26+
*/
27+
html {
28+
-webkit-text-size-adjust: none;
29+
-moz-text-size-adjust: none;
30+
text-size-adjust: none;
31+
}
32+
2433
body {
2534
margin: 0;
2635
}

0 commit comments

Comments
 (0)