From 543aa1a957077466b433e684df3eb2f966e40da7 Mon Sep 17 00:00:00 2001 From: Anthony Bellew Date: Thu, 26 Jan 2017 03:03:26 -0700 Subject: [PATCH] Add Padding to inline styles for spoiler --- .../javascripts/components/components/status_content.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/components/status_content.jsx b/app/assets/javascripts/components/components/status_content.jsx index 397374a755..619d8e2a6b 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' };