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

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

View file

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