css: fix for legacy epub image dimension, closes #1507 (#1508)

This commit is contained in:
Huang Xin
2025-07-01 15:46:27 +08:00
committed by GitHub
parent 49978c5e3f
commit 0514bed5b7
+4
View File
@@ -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; }