EPUB reader: constrain images to text width
Prevents wide chapter images from causing horizontal overflow/scroll on mobile. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d64f159044
commit
c064d0d4e1
1 changed files with 1 additions and 0 deletions
|
|
@ -1726,6 +1726,7 @@ body.reader-immersive.reader-show-bottom .reader-overlay { bottom: var(--bar-h)
|
|||
|
||||
/* Highlight marks */
|
||||
.reader-no-bold * { font-weight: normal !important; }
|
||||
.reader-content img { max-width: 100%; height: auto; display: block; }
|
||||
.epub-highlight { border-radius:2px; cursor:pointer; }
|
||||
.epub-highlight[data-color="yellow"] { background:rgba(241,196,15,.4); }
|
||||
.epub-highlight[data-color="green"] { background:rgba(46,204,113,.35); }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue