390b5115 | 26-Jan-2021 |
Michael Große <mic.grosse@googlemail.com> |
fix: better max-width for images in tables
Tables are very aggressive with how they size the contents of their cells. That leads to sometimes extremely small images with max-width:100%, especially f
fix: better max-width for images in tables
Tables are very aggressive with how they size the contents of their cells. That leads to sometimes extremely small images with max-width:100%, especially for images that already have a small intrinsic size.
Setting the max-width to 50vw, i.e. half the view-port, is chosen as a trade-off between: * letting small images keep their full size in most view-ports * keeping large images still pretty large on large view-ports * prevent scrolling in most circumstances (scrolling a table is really bad user experience, this is the goal of the browser)
Fixes #2059
show more ...
|