about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorAnthony Bellew <anthonyreflected@gmail.com>2017-01-26 03:03:26 -0700
committerGitHub <noreply@github.com>2017-01-26 03:03:26 -0700
commitebe5095665ec1c55e4888091223a974863198c37 (patch)
tree1ff6db69f4a9422a670733372306925aa22d01ed /app
parent8f18c8f9ad169edc24474a950e959f8d68973166 (diff)
Add Padding to inline styles for spoiler
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/components/components/status_content.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/components/status_content.jsx b/app/assets/javascripts/components/components/status_content.jsx
index 397374a75..619d8e2a6 100644
--- a/app/assets/javascripts/components/components/status_content.jsx
+++ b/app/assets/javascripts/components/components/status_content.jsx
@@ -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'
     };