Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit cce506b

Browse files
authored
Fix misaligned timestamps for thread roots which are emotes (#9875)
* Fix misaligned timestamps for thread roots which are emotes * Use cross-browser variant instead of webkit-only variant for fill-available
1 parent 1daa34b commit cce506b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

res/css/views/rooms/_EventTile.pcss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,7 @@ $left-gutter: 64px;
970970
font-size: $font-12px;
971971
max-width: var(--MessageTimestamp-max-width);
972972
position: initial;
973+
margin-left: auto; /* to ensure it's end-aligned even if it's the only element of its parent */
973974
}
974975

975976
&:hover {
@@ -1297,7 +1298,7 @@ $left-gutter: 64px;
12971298

12981299
.mx_EventTile_details {
12991300
display: flex;
1300-
width: -webkit-fill-available;
1301+
width: fill-available;
13011302
align-items: center;
13021303
justify-content: space-between;
13031304
gap: $spacing-8;

0 commit comments

Comments
 (0)