fix: Prevent adjustments of font size after orientation changes in iOS (#1285)

The font size in the code block may be larger.
As shown below, the Reset CSS specifies `text-size-adjust: 100%`.
https://github.com/necolas/normalize.css/blob/fc091cce1534909334c1911709a39c22d406977b/normalize.css#L13
https://github.com/csstools/sanitize.css/blob/092d0d85922bfa72d28e9e8d25d80a5437c8df44/sanitize.css#L43
This commit is contained in:
Hiroshi Shimoju
2023-08-12 16:56:08 +09:00
committed by GitHub
parent f7bd1ec07c
commit eab731707a
+2
View File
@@ -7,6 +7,8 @@
html { html {
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
overflow-y: scroll; overflow-y: scroll;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
} }
a, a,