mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 11:19:51 +00: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 .chat-uploads img,
|
||||||
.chat-message-collapser p img,
|
.chat-message-collapser p img,
|
||||||
aside.onebox .onebox-body .aspect-image-full-size,
|
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;
|
object-fit: contain;
|
||||||
max-height: $max_image_height;
|
max-height: $max_image_height;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user