Edit properties and values of EventTile on ThreadView (#8638)

* Edit properties and values of EventTile on ThreadView

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove obsolete order properties of EventTile on ThreadView

These values are no longer required as the reactions row is displayed under the message by default.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
pull/28217/head
Suguru Hirahara 2022-05-23 10:11:55 +00:00 committed by GitHub
parent eb977e6e7d
commit 764b307e63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 10 deletions

View File

@ -863,22 +863,23 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
flex-direction: column;
.mx_EventTile_line {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 0;
order: 10 !important;
padding-top: var(--BaseCard_EventTile_line-padding-block);
padding-bottom: var(--BaseCard_EventTile_line-padding-block);
}
.mx_EventTile_line,
.mx_ReactionsRow {
padding-inline-start: 0; // Cancel inherited padding value for event message and reactions row
}
.mx_ReactionsRow {
padding-inline-end: 0;
}
.mx_MessageTimestamp {
font-size: $font-10px;
}
.mx_ReactionsRow {
order: 999;
padding-left: 0;
padding-right: 0;
}
&:not([data-layout=bubble]) {
padding-top: $spacing-16;