]> cat aescling's git repositories - mastodon.git/commitdiff
Add Padding to inline styles for spoiler
authorAnthony Bellew <anthonyreflected@gmail.com>
Thu, 26 Jan 2017 10:03:26 +0000 (03:03 -0700)
committerGitHub <noreply@github.com>
Thu, 26 Jan 2017 10:03:26 +0000 (03:03 -0700)
app/assets/javascripts/components/components/status_content.jsx

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