UX: Ensure image size is maintained even after loading error (#18805)
This commit is contained in:
parent
586454bcf1
commit
d22fddf00a
|
@ -196,6 +196,7 @@ $quote-share-maxwidth: 150px;
|
|||
img:not(.thumbnail):not(.ytp-thumbnail-image):not(.emoji) {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: inline-block; // Ensure dimensions are maintained even after load error
|
||||
|
||||
@supports not (aspect-ratio: 1) {
|
||||
// (see javascripts/discourse/app/initializers/image-aspect-ratio.js)
|
||||
|
|
Loading…
Reference in New Issue