Fix to completely hide NSFW-tagged images (#2724)

This commit is contained in:
hakoai 2017-05-03 03:03:00 +09:00 committed by Eugen Rochko
parent 70f9858e6f
commit d3f549a864

View file

@ -1889,7 +1889,6 @@ button.icon-button.active i.fa-retweet {
}
}
.media-spoiler,
.video-error-cover {
align-items: center;
background: $color8;
@ -1905,6 +1904,20 @@ button.icon-button.active i.fa-retweet {
z-index: 100;
}
.media-spoiler {
align-items: center;
background: $color8;
color: $color5;
cursor: pointer;
display: flex;
flex-direction: column;
height: 100%;
justify-content: center;
position: relative;
text-align: center;
z-index: 100;
}
.media-spoiler__warning {
display: block;
font-size: 14px;