Chats: improve display of images, because we can
This commit is contained in:
parent
5aef50b89e
commit
49d2121017
1 changed files with 5 additions and 1 deletions
|
@ -326,13 +326,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-message .media-gallery {
|
.chat-message .media-gallery {
|
||||||
height: 120px !important;
|
height: auto !important;
|
||||||
margin: 4px 0 8px;
|
margin: 4px 0 8px;
|
||||||
|
|
||||||
.spoiler-button {
|
.spoiler-button {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__preview {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
&__item-thumbnail img,
|
&__item-thumbnail img,
|
||||||
&__item-thumbnail .still-image img {
|
&__item-thumbnail .still-image img {
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
|
Loading…
Reference in a new issue