Fix edge case around event list summary layout (#7867)

This commit is contained in:
Michael Telatynski 2022-02-22 10:25:44 +00:00 committed by GitHub
parent 5b8d440406
commit e644ede09e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -19,7 +19,6 @@ limitations under the License.
opacity: 0.6;
font-size: $font-12px;
width: 100%;
margin-left: 20px;
pre, code {
flex: 1;

View file

@ -280,6 +280,12 @@ $left-gutter: 64px;
}
}
.mx_EventTile:not([data-layout=bubble]).mx_EventTile_info .mx_EventTile_line,
.mx_GenericEventListSummary:not([data-layout=bubble]) > ol > .mx_EventTile_info .mx_EventTile_avatar ~ .mx_EventTile_line {
padding-left: calc($left-gutter + 20px);
}
.mx_EventTile:not([data-layout=bubble]).mx_EventTile_info .mx_EventTile_line,
.mx_GenericEventListSummary:not([data-layout=bubble]) .mx_EventTile_line {
padding-left: $left-gutter;
}