mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-16 07:06:45 +00:00
Merge pull request #394 from ashkitten/compressed-notifs
fix compressed notifications again (#393)
This commit is contained in:
commit
c074b226b6
|
@ -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}
|
||||
|
|
|
@ -289,21 +289,24 @@
|
|||
.status__info__account .status__display-name {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
padding-right: 25px;
|
||||
}
|
||||
|
||||
.status__info {
|
||||
position: relative;
|
||||
display: flex;
|
||||
padding: 2px 0 5px;
|
||||
font-size: 15px;
|
||||
line-height: 24px;
|
||||
|
||||
> span {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.status__info__icons {
|
||||
position: absolute;
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
color: lighten($ui-base-color, 26%);
|
||||
top: 0;
|
||||
right: 0;
|
||||
|
||||
.status__visibility-icon {
|
||||
padding-left: 6px;
|
||||
|
|
Loading…
Reference in a new issue