Add Padding to inline styles for spoiler

This commit is contained in:
Anthony Bellew 2017-01-26 03:03:26 -07:00 committed by GitHub
parent 8f18c8f9ad
commit ebe5095665

View File

@ -88,10 +88,11 @@ const StatusContent = React.createClass({
const spoilerContent = { __html: emojify(status.get('spoiler_text', '')) }; const spoilerContent = { __html: emojify(status.get('spoiler_text', '')) };
const spoilerStyle = { const spoilerStyle = {
backgroundColor: '#fff', backgroundColor: '#fff',
borderRadius: '0 4px', borderRadius: '4px',
color: '#363c4b', color: '#363c4b',
fontWeight: '500', fontWeight: '500',
fontSize: '12px', fontSize: '12px',
padding: '0 4px',
textTransform: 'uppercase' textTransform: 'uppercase'
}; };