Fix status prepend design (#1874)
* Fix status prepend design * Adjust status prepend styling a bitmain
parent
b3030187a4
commit
19765216a1
|
@ -749,16 +749,16 @@ class Status extends ImmutablePureComponent {
|
||||||
data-featured={featured ? 'true' : null}
|
data-featured={featured ? 'true' : null}
|
||||||
aria-label={textForScreenReader(intl, status, rebloggedByText, !status.get('hidden'))}
|
aria-label={textForScreenReader(intl, status, rebloggedByText, !status.get('hidden'))}
|
||||||
>
|
>
|
||||||
<header className='status__info'>
|
{prepend && account && (
|
||||||
<span>
|
|
||||||
{prepend && account ? (
|
|
||||||
<StatusPrepend
|
<StatusPrepend
|
||||||
type={prepend}
|
type={prepend}
|
||||||
account={account}
|
account={account}
|
||||||
parseClick={parseClick}
|
parseClick={parseClick}
|
||||||
notificationId={this.props.notificationId}
|
notificationId={this.props.notificationId}
|
||||||
/>
|
/>
|
||||||
) : null}
|
)}
|
||||||
|
<header className='status__info'>
|
||||||
|
<span>
|
||||||
{!muted || !isCollapsed ? (
|
{!muted || !isCollapsed ? (
|
||||||
<StatusHeader
|
<StatusHeader
|
||||||
status={status}
|
status={status}
|
||||||
|
|
|
@ -555,12 +555,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.status__prepend {
|
.status__prepend {
|
||||||
margin-top: -10px;
|
margin-top: -2px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 8px;
|
||||||
margin-left: 58px;
|
margin-left: 58px;
|
||||||
color: $dark-text-color;
|
color: $dark-text-color;
|
||||||
padding: 8px 0;
|
|
||||||
padding-bottom: 2px;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue