Image to not exceed too big of a height while keeping aspect ratio

This commit is contained in:
Jeremy Zhang 2017-11-05 06:20:45 +00:00
parent 5fb860caca
commit e9193912ca

View File

@ -587,6 +587,8 @@ p.mentioned span.chatmessage {
#chatcontent img.attachment {
width: 100%;
max-width: 300px;
max-height: 300px;
object-fit: contain;
}
#emoji-picker {