css: fix unintended font size adjust in scrolled mode on iOS, closes #1438 (#1440)

This commit is contained in:
Huang Xin
2025-06-21 19:25:46 +08:00
committed by GitHub
parent dcb7602837
commit 4447dd7b9a
+2
View File
@@ -58,6 +58,8 @@ const getFontStyles = (
font-family: var(${defaultFont.toLowerCase() === 'serif' ? '--serif' : '--sans-serif'}) ${overrideFont ? '!important' : ''};
font-size: ${fontSize}px !important;
font-weight: ${fontWeight};
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
font[size="1"] {
font-size: ${minFontSize}px;