Merge pull request #394 from ashkitten/compressed-notifs

fix compressed notifications again (#393)
This commit is contained in:
David Yip 2018-03-19 15:41:09 -05:00 committed by GitHub
commit c074b226b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 21 deletions

View File

@ -394,6 +394,7 @@ export default class Status extends ImmutablePureComponent {
tabIndex='0' tabIndex='0'
> >
<header className='status__info'> <header className='status__info'>
<span>
{prepend && account ? ( {prepend && account ? (
<StatusPrepend <StatusPrepend
type={prepend} type={prepend}
@ -410,6 +411,7 @@ export default class Status extends ImmutablePureComponent {
parseClick={parseClick} parseClick={parseClick}
/> />
) : null} ) : null}
</span>
<StatusIcons <StatusIcons
status={status} status={status}
mediaIcon={mediaIcon} mediaIcon={mediaIcon}

View File

@ -289,21 +289,24 @@
.status__info__account .status__display-name { .status__info__account .status__display-name {
display: block; display: block;
max-width: 100%; max-width: 100%;
padding-right: 25px;
} }
.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;
> span {
overflow: hidden;
}
} }
.status__info__icons { .status__info__icons {
position: absolute; margin-left: auto;
display: flex;
align-items: baseline;
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;