diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/components/status.js | 16 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/status.scss | 6 |
2 files changed, 10 insertions, 12 deletions
diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index 6cdc4b971..4e427e5a0 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -749,16 +749,16 @@ class Status extends ImmutablePureComponent { data-featured={featured ? 'true' : null} aria-label={textForScreenReader(intl, status, rebloggedByText, !status.get('hidden'))} > + {prepend && account && ( + <StatusPrepend + type={prepend} + account={account} + parseClick={parseClick} + notificationId={this.props.notificationId} + /> + )} <header className='status__info'> <span> - {prepend && account ? ( - <StatusPrepend - type={prepend} - account={account} - parseClick={parseClick} - notificationId={this.props.notificationId} - /> - ) : null} {!muted || !isCollapsed ? ( <StatusHeader status={status} diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss index 9e346c5f0..c11e58423 100644 --- a/app/javascript/flavours/glitch/styles/components/status.scss +++ b/app/javascript/flavours/glitch/styles/components/status.scss @@ -555,12 +555,10 @@ } .status__prepend { - margin-top: -10px; - margin-bottom: 10px; + margin-top: -2px; + margin-bottom: 8px; margin-left: 58px; color: $dark-text-color; - padding: 8px 0; - padding-bottom: 2px; font-size: 14px; position: relative; |