mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 14:54:48 +08:00
d5f5d9b867
This commit attempts to fix two issues that affect quoted images. The first issue is observed while loading. The 'position: absolute' CSS property makes 'width' and 'height' behave differently. Instead of using the known image size, this makes it use the computed width and height of the image, which should be the right size, as shown to the user. The second issue is caused by 'object-fit: cover' property which trimmed the left and right sides of wide pictures to make them fit inside the quote. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |