Fix MessageTimestamp position next to redacted messages on IRC/modern layout (#8591)

This commit is contained in:
Suguru Hirahara 2022-05-14 07:55:52 +00:00 committed by GitHub
parent e6ec01fe86
commit f54d54b3ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View file

@ -258,8 +258,12 @@ limitations under the License.
}
&:not([data-layout=bubble]) {
.mx_MessageTimestamp {
top: 2px; // Align with avatar
}
.mx_EventTile_avatar {
top: 1.5px;
top: 0; // Align with hidden event content
left: calc($MessageTimestamp_width + 14px - 4px); // 14px: avatar width, 4px: align with text
z-index: 9; // position above the hover styling
}