mirror of
https://github.com/danbee/danbarber.me.hugo.git
synced 2025-03-04 08:59:18 +00:00
Safari does not resize the text as the viewport is resized. This hack gets around that by forcing a repaint on every frame. This does not seem to impact the browsers CPU usage at all. One interesting issue is that Safari snaps the font sizes to the nearest pixel size, so the font sizes tend to jump around a little, rather than scaling smoothly like Firefox/Chrome. |
||
|---|---|---|
| archetypes | ||
| assets/sass | ||
| bin | ||
| content | ||
| layouts | ||
| scripts | ||
| themes | ||
| .gitignore | ||
| .gitmodules | ||
| config.toml | ||
| netlify.toml | ||