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

This commit is contained in:
Suguru Hirahara
2022-05-14 09:55:52 +02:00
committed by GitHub
parent e6ec01fe86
commit f54d54b3ff
3 changed files with 10 additions and 2 deletions
+5 -1
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
}