Work around a font size flicker bug Safari

When the font-size is defined on html instead of body, Safari flickers
the font size back and forth when resizing around each font-size change.

Easy workaround is to change the font-size on body instead.
This commit is contained in:
Sami Samhuri 2014-03-09 21:38:43 -07:00
parent ae728a9636
commit db54f0da4d

View file

@ -15,11 +15,11 @@ html {
}
@media (min-width: 40rem) {
html { font-size: 112%; }
body { font-size: 112%; }
}
@media (min-width: 64rem) {
html { font-size: 120%; }
body { font-size: 120%; }
}
body {