fix(layout): restrict image container within column boundaries, closes #2390 (#2398)

This commit is contained in:
Huang Xin
2025-11-03 23:35:08 +08:00
committed by GitHub
parent ec7145bb01
commit 9d301631ca
+4
View File
@@ -354,6 +354,10 @@ const getLayoutStyles = (
color: unset;
}
div:has(> img, > svg) {
max-width: 100% !important;
}
/* some epubs set insane inline-block for p */
p {
display: block;