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
This commit is contained in:
Janne Mareike Koschinski 2023-01-11 16:39:44 +01:00 committed by GitHub
parent 1daa34b51c
commit cce506b1c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -970,6 +970,7 @@ $left-gutter: 64px;
font-size: $font-12px; font-size: $font-12px;
max-width: var(--MessageTimestamp-max-width); max-width: var(--MessageTimestamp-max-width);
position: initial; position: initial;
margin-left: auto; /* to ensure it's end-aligned even if it's the only element of its parent */
} }
&:hover { &:hover {
@ -1297,7 +1298,7 @@ $left-gutter: 64px;
.mx_EventTile_details { .mx_EventTile_details {
display: flex; display: flex;
width: -webkit-fill-available; width: fill-available;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
gap: $spacing-8; gap: $spacing-8;