From 610225aef22b191d765cd95164d7a311852cb2e4 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Fri, 8 Apr 2022 08:11:08 +0000 Subject: [PATCH] Fix bubble layout in thread view (#8249) --- res/css/views/rooms/_EventTile.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index 4238dca938..29f6242c4b 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -954,7 +954,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); .mx_EventTile { display: flex; flex-direction: column; - padding-top: 14px; // due to layout differences, this odd number matches the 18px padding-top of main tl events .mx_EventTile_line { padding-left: 0; @@ -972,6 +971,10 @@ $threadInfoLineHeight: calc(2 * $font-12px); } } + .mx_EventTile:not([data-layout=bubble]) { + padding-top: 14px; // due to layout differences, this odd number matches the 18px padding-top of main tl events + } + .mx_EventTile[data-layout=bubble] { margin-left: 36px; margin-right: 36px;