UX: adding max height to image in chat blockquote (#22255)

* UX: adding max height to  blockquote image in chat
This commit is contained in:
chapoi 2023-06-23 17:33:12 +09:00 committed by GitHub
parent 303fcf303c
commit a2a31eb420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,8 @@ $max_image_height: 150px;
.chat-message-collapser .chat-uploads img,
.chat-message-collapser p img,
aside.onebox .onebox-body .aspect-image-full-size,
aside.onebox .onebox-body .aspect-image-full-size img {
aside.onebox .onebox-body .aspect-image-full-size img,
.chat-message-text p img:not(.emoji) {
object-fit: contain;
max-height: $max_image_height;
max-width: 100%;