Skip to content

Commit

Permalink
Fix to completely hide NSFW-tagged images (mastodon#2724)
Browse files Browse the repository at this point in the history
  • Loading branch information
hakoai authored and Gargron committed May 2, 2017
1 parent 6f75c84 commit 22b1a70
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion app/assets/stylesheets/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,6 @@ button.icon-button.active i.fa-retweet {
}
}

.media-spoiler,
.video-error-cover {
align-items: center;
background: $color8;
Expand All @@ -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;
Expand Down

0 comments on commit 22b1a70

Please sign in to comment.