Fix broken style in media gallery (regression from #3963) (#4014)

lolsob-rspec
Yamagishi Kazutoshi 2017-06-30 20:40:00 +09:00 committed by Eugen Rochko
parent aea653f05d
commit c7cefc7556
1 changed files with 3 additions and 6 deletions

View File

@ -3421,19 +3421,16 @@ button.icon-button.active i.fa-retweet {
} }
.media-gallery__item-thumbnail { .media-gallery__item-thumbnail {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
cursor: zoom-in; cursor: zoom-in;
display: flex; display: block;
align-items: center;
text-decoration: none; text-decoration: none;
height: 100%; height: 100%;
&, &,
img { img {
width: 100%; width: 100%;
overflow: hidden; height: 100%;
object-fit: cover;
} }
} }