Fix status prepend design (#1874)

* Fix status prepend design

* Adjust status prepend styling a bit
This commit is contained in:
Claire 2022-10-28 08:47:10 +02:00 committed by GitHub
parent 8be820a7c5
commit 7379f8aa14
2 changed files with 10 additions and 12 deletions

View file

@ -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}

View file

@ -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;