diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index b216a90c..4188138f 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -392,6 +392,11 @@ const getLayoutStyles = ( width: 0.8em; height: 0.8em; } + div:has(img.singlepage) { + position: relative; + width: auto; + height: auto; + } /* workaround for some badly designed epubs */ div.left *, p.left * { text-align: left; }