This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix to completely hide NSFW-tagged images (
#2724
)
closed-social-glitch-2
hakoai
7 years ago
committed by
Eugen Rochko
parent
6f75c8451d
commit
22b1a70274
1 changed files
with
14 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-1
app/assets/stylesheets/components.scss
+ 14
- 1
app/assets/stylesheets/components.scss
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
;
Write
Preview
Loading…
Cancel
Save