fix compressed notifications again (#393)

master
Ash Levy 7 years ago
parent 33d5fe889a
commit c68c1466ac
  1. 34
      app/javascript/flavours/glitch/components/status.js
  2. 6
      app/javascript/flavours/glitch/styles/components/status.scss

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

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

Loading…
Cancel
Save