From bae8854c13b2ae7b3452a6c79b70debb87433fa2 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Mon, 30 May 2022 06:55:12 +0000 Subject: [PATCH] Remove inline margin from UTD error message inside a reply tile on ThreadView (#8708) * Remove inline margin from UTD error message inside a reply tile on ThreadView Signed-off-by: Suguru Hirahara * Merge 'mx_ReplyChain_wrapper' blocks Signed-off-by: Suguru Hirahara --- res/css/views/rooms/_EventTile.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index a3a1acdcd17..3f2a1fbf19c 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -923,6 +923,13 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss } } + .mx_ReplyChain_wrapper { + .mx_MLocationBody, + .mx_UnknownBody { // Error message inside ReplyTile + margin-inline: unset; + } + } + .mx_EventTile_mediaLine { // such as MImageBody > div, @@ -937,13 +944,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss } } - .mx_ReplyChain_wrapper { - .mx_MLocationBody { - margin-inline-start: 0; - margin-inline-end: 0; - } - } - .mx_MessageTimestamp { top: 2px; // Align with mx_EventTile_content }