mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:12:45 +08:00
UX: adding max height to image in chat blockquote (#22255)
* UX: adding max height to blockquote image in chat
This commit is contained in:
parent
303fcf303c
commit
a2a31eb420
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue
Block a user