From 4ae1ab7dd01afd45eb4711f36cc01c59992759d2 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Tue, 23 Dec 2025 13:31:09 +0800 Subject: [PATCH] fix(layout): workaround for hardcoded image container (#2769) --- apps/readest-app/src/utils/style.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index 20b783cf..97f0891d 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -255,6 +255,9 @@ const getLayoutStyles = ( width: auto; background-color: transparent !important; } + figure > div:has(img) { + height: auto !important; + } /* enlarge the clickable area of links */ a { position: relative !important;