From cce506b1c142bebdaf4c548fb50e11fa3e00b861 Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski Date: Wed, 11 Jan 2023 16:39:44 +0100 Subject: [PATCH] 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 --- res/css/views/rooms/_EventTile.pcss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/css/views/rooms/_EventTile.pcss b/res/css/views/rooms/_EventTile.pcss index 1169f513887..c7e857fc9cb 100644 --- a/res/css/views/rooms/_EventTile.pcss +++ b/res/css/views/rooms/_EventTile.pcss @@ -970,6 +970,7 @@ $left-gutter: 64px; font-size: $font-12px; max-width: var(--MessageTimestamp-max-width); position: initial; + margin-left: auto; /* to ensure it's end-aligned even if it's the only element of its parent */ } &:hover { @@ -1297,7 +1298,7 @@ $left-gutter: 64px; .mx_EventTile_details { display: flex; - width: -webkit-fill-available; + width: fill-available; align-items: center; justify-content: space-between; gap: $spacing-8;