In detail status view, display attachment uncropped if there's only one (#5054)

* In detail status view, display attachment uncropped if there's only one

* Make media spoiler the size of the media it hides, enable on static
This commit is contained in:
Eugen Rochko 2017-09-24 05:58:30 +02:00 committed by GitHub
parent b2820c3913
commit 2f079573ed
6 changed files with 71 additions and 10 deletions

View file

@ -3645,6 +3645,12 @@ button.icon-button.active i.fa-retweet {
display: block;
float: left;
position: relative;
&.standalone {
.media-gallery__item-gifv-thumbnail {
transform: none;
}
}
}
.media-gallery__item-thumbnail {
@ -3652,6 +3658,7 @@ button.icon-button.active i.fa-retweet {
display: block;
text-decoration: none;
height: 100%;
line-height: 0;
&,
img {