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
Add Padding to inline styles for spoiler
closed-social-glitch-2
Anthony Bellew
7 years ago
committed by
GitHub
parent
8f18c8f9ad
commit
ebe5095665
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
app/assets/javascripts/components/components/status_content.jsx
+ 2
- 1
app/assets/javascripts/components/components/status_content.jsx
View File
@ -88,10 +88,11 @@ const StatusContent = React.createClass({
const
spoilerContent
=
{
__html
:
emojify
(
status
.
get
(
'spoiler_text'
,
''
)
)
}
;
const
spoilerStyle
=
{
backgroundColor
:
'#fff'
,
borderRadius
:
'
0
4px'
,
borderRadius
:
'4px'
,
color
:
'#363c4b'
,
fontWeight
:
'500'
,
fontSize
:
'12px'
,
padding
:
'0 4px'
,
textTransform
:
'uppercase'
}
;
Write
Preview
Loading…
Cancel
Save