From 998b14c5b05900f4fa25cd41d6f3770c8b8b2771 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Mon, 24 Nov 2025 13:11:29 +0800 Subject: [PATCH] fix(layout): avoid clipping text because of negative indent, closes #2498 (#2526) --- apps/readest-app/src/utils/style.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index 5352e6c0..83e33c95 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -325,8 +325,7 @@ const getLayoutStyles = ( white-space: pre-wrap !important; } - p:not([dir="rtl"]) { - max-width: 100%; + body:not([dir="rtl"]) { overflow-x: clip; }