From 657b0a4c28cb354cdc8eb8d2ee7abdccf6c5f608 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 13 Jan 2022 22:45:54 +0000 Subject: [PATCH] Fix alignment of timestamps in bubble layout (#7535) --- res/css/views/rooms/_EventBubbleTile.scss | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/res/css/views/rooms/_EventBubbleTile.scss b/res/css/views/rooms/_EventBubbleTile.scss index 8e04701339..d512076564 100644 --- a/res/css/views/rooms/_EventBubbleTile.scss +++ b/res/css/views/rooms/_EventBubbleTile.scss @@ -184,7 +184,7 @@ limitations under the License. border-top-left-radius: var(--cornerRadius); border-top-right-radius: var(--cornerRadius); - > a, .mx_MessageTimestamp { + > a { // timestamp wrapper anchor position: absolute; padding: 4px 8px; bottom: 0; @@ -406,12 +406,15 @@ limitations under the License. margin-left: 9px; } - .mx_EventTile_line > a, - .mx_EventTile_line .mx_MessageTimestamp { - // Align timestamps with those of normal bubble tiles + .mx_EventTile_line > a { // timestamp wrapper anchor right: auto; - top: -11px; left: -77px; + bottom: unset; + align-self: center; + + .mx_MessageTimestamp { + vertical-align: middle; + } } }