Move mx_EventTile_e2eIcon style out of mx_EventTile:not([data-layout=bubble]) (#8895)

pull/28217/head
Suguru Hirahara 2022-06-25 17:49:34 +00:00 committed by GitHub
parent 33d680b134
commit b391a20434
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 14 deletions

View File

@ -79,6 +79,10 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
&[data-layout=irc], &[data-layout=irc],
&[data-layout=group] { &[data-layout=group] {
.mx_EventTile_e2eIcon {
position: absolute;
}
.mx_MImageBody { .mx_MImageBody {
margin-right: 34px; margin-right: 34px;
} }
@ -112,6 +116,10 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
line-height: $font-22px; line-height: $font-22px;
} }
.mx_EventTile_e2eIcon {
inset: 6px 0 0 44px;
}
.mx_ThreadSummary, .mx_ThreadSummary,
.mx_ThreadSummaryIcon { .mx_ThreadSummaryIcon {
margin-left: $left-gutter; margin-left: $left-gutter;
@ -295,14 +303,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
min-width: $font-44px; min-width: $font-44px;
} }
} }
.mx_EventTile_e2eIcon {
position: absolute;
top: 6px;
left: 44px;
bottom: 0;
right: 0;
}
} }
.mx_GenericEventListSummary:not([data-layout=bubble]) { .mx_GenericEventListSummary:not([data-layout=bubble]) {

View File

@ -80,12 +80,7 @@ $irc-line-height: $font-18px;
text-align: right; text-align: right;
} }
> .mx_EventTile_e2eIcon { .mx_EventTile_e2eIcon {
position: absolute;
right: unset;
left: unset;
top: 0;
padding: 0; padding: 0;
flex-shrink: 0; flex-shrink: 0;