diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index 0a0359b4..d1538f3f 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -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;