mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 01:21:35 +08:00
eff0106efb
This fixes rare cases of layout shift caused by images appearing slightly smaller after being loaded. For example, a 371x1031 image is uploaded. It gets lightboxed, with the generated thumbnail of size 179x500. `height: auto` changes that thumbnail's size (only after being loaded) to 179x497, causing a 3px shift. I did not observe any regressions with this change. |
||
---|---|---|
.. | ||
admin | ||
base | ||
components | ||
foundation | ||
select-kit | ||
d-editor.scss | ||
font-variables.scss | ||
input_tip.scss | ||
printer-friendly.scss | ||
software-update-prompt.scss | ||
topic-entrance.scss | ||
topic-timeline.scss |