1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 15:16:19 +09:00

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

This commit is contained in:
Yamagishi Kazutoshi 2017-06-30 20:40:00 +09:00 committed by Eugen Rochko
parent 7362469d89
commit 0e09048537

View File

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