about summary refs log tree commit diff
path: root/app/assets/javascripts/components
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-01-25 02:16:36 +0100
committerGitHub <noreply@github.com>2017-01-25 02:16:36 +0100
commit41f5459af5c30ac71096a1d1efc38837ab940acf (patch)
tree1b572c496db3ba94e253d3b1fa62098707bd3311 /app/assets/javascripts/components
parent10ffd455a8f5b423624a3d5696043efa07eccf03 (diff)
parentca13ec04a8643399f4f2d2fa2ca919d23a19e14d (diff)
Merge pull request #524 from blackle/master
fix up spoilers
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r--app/assets/javascripts/components/components/status_content.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/components/status_content.jsx b/app/assets/javascripts/components/components/status_content.jsx
index ff90226d8..fbb413465 100644
--- a/app/assets/javascripts/components/components/status_content.jsx
+++ b/app/assets/javascripts/components/components/status_content.jsx
@@ -92,7 +92,7 @@ const StatusContent = React.createClass({
 
       return (
         <div className='status__content' style={{ cursor: 'pointer' }} onMouseDown={this.handleMouseDown} onMouseUp={this.handleMouseUp}>
-          <p>
+          <p style={{ marginBottom: hidden ? '0px' : '' }} >
             <span dangerouslySetInnerHTML={spoilerContent} /> <a onClick={this.handleSpoilerClick}>{toggleText}</a>
           </p>