Archived
2
0
Fork 0

Adding content sensitivity toggle, spoilers for media

This commit is contained in:
Eugen Rochko 2016-11-23 18:53:23 +01:00
parent 5434ad3002
commit 2112a81e86
10 changed files with 182 additions and 25 deletions

View file

@ -14,16 +14,20 @@ const spoilerStyle = {
color: '#fff',
textAlign: 'center',
height: '100%',
cursor: 'pointer'
cursor: 'pointer',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'column'
};
const spoilerSpanStyle = {
display: 'block',
fontSize: '14px',
paddingTop: '45%'
};
const spoilerSubSpanStyle = {
display: 'block',
fontSize: '11px',
fontWeight: '500'
};