fix compressed notifications again (#393)

This commit is contained in:
Ash Levy 2018-03-18 13:42:28 -04:00
parent 9972506493
commit 59c1accd4b
2 changed files with 20 additions and 20 deletions

View file

@ -394,22 +394,24 @@ export default class Status extends ImmutablePureComponent {
tabIndex='0'
>
<header className='status__info'>
{prepend && account ? (
<StatusPrepend
type={prepend}
account={account}
parseClick={parseClick}
notificationId={this.props.notificationId}
/>
) : null}
{!muted ? (
<StatusHeader
status={status}
friend={account}
collapsed={isExpanded === false}
parseClick={parseClick}
/>
) : null}
<span>
{prepend && account ? (
<StatusPrepend
type={prepend}
account={account}
parseClick={parseClick}
notificationId={this.props.notificationId}
/>
) : null}
{!muted ? (
<StatusHeader
status={status}
friend={account}
collapsed={isExpanded === false}
parseClick={parseClick}
/>
) : null}
</span>
<StatusIcons
status={status}
mediaIcon={mediaIcon}

View file

@ -294,17 +294,15 @@
}
.status__info {
position: relative;
display: flex;
padding: 2px 0 5px;
font-size: 15px;
line-height: 24px;
}
.status__info__icons {
position: absolute;
margin-left: auto;
color: lighten($ui-base-color, 26%);
top: 0;
right: 0;
.status__visibility-icon {
padding-left: 6px;