marp-team / marpit

The skinny framework for creating slide deck from Markdown
https://marpit.marp.app/
MIT License
963 stars 46 forks source link

Add `-webkit-text-size-adjust: 100%;` to the scaffold theme #389

Closed yhatt closed 6 months ago

yhatt commented 7 months ago

https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust

The mobile Safari browser may apply a text inflation algorithm to enlarge the text to make it more readable. This is better from a view of readability, but it would not keep rendering reproducibillity across several devices.

In this pull request, I've added -webkit-text-size-adjust: 100%; to the scaffold CSS declarations. It will disable text inflation algorithm explicitly, and keep the original text size.