From 4447dd7b9a5f076d955630bd8a821f537afc205e Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Sat, 21 Jun 2025 19:25:46 +0800 Subject: [PATCH] css: fix unintended font size adjust in scrolled mode on iOS, closes #1438 (#1440) --- apps/readest-app/src/utils/style.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index 3df589e3..f646a05b 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -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;