From 0514bed5b78135ac0c8bbd098629f71c2e8ddeae Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Tue, 1 Jul 2025 15:46:27 +0800 Subject: [PATCH] css: fix for legacy epub image dimension, closes #1507 (#1508) --- apps/readest-app/src/utils/style.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index f646a05b..01ad95e1 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -290,6 +290,10 @@ const getLayoutStyles = ( span:has(> a:first-child + img:last-child) img { height: auto; } + .ie6 img { + width: auto; + height: auto; + } /* workaround for some badly designed epubs */ div.left *, p.left * { text-align: left; }