From a59f889f79dfdd63f7df7a5036d81c42d0ef66e5 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Wed, 13 Apr 2022 15:33:54 +0000 Subject: [PATCH] Fix padding and border-radius issue of the right panel for chat aka mx_ThreadPanel (#8307) * Specify the correct padding to the chat panel aka mx_ThreadPanel Signed-off-by: Suguru Hirahara * Add border to the right chat panel Signed-off-by: Suguru Hirahara --- res/css/views/right_panel/_TimelineCard.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/res/css/views/right_panel/_TimelineCard.scss b/res/css/views/right_panel/_TimelineCard.scss index 349654886d..887fdd12fb 100644 --- a/res/css/views/right_panel/_TimelineCard.scss +++ b/res/css/views/right_panel/_TimelineCard.scss @@ -39,6 +39,7 @@ limitations under the License. overflow: hidden; position: relative; // offset parent for jump to bottom button flex: 1; + border-radius: 8px; } .mx_AutoHideScrollbar { @@ -124,4 +125,12 @@ limitations under the License. .mx_WhoIsTypingTile_avatars { flex-basis: 48px; // 12 (padding on message list) + 36 (padding on event lines) } + + &.mx_BaseCard { + // For a chat timeline on the right panel when the widget is maximised + // TODO: rename ThreadPanel + &.mx_ThreadPanel { + padding-right: 8px; // .mx_RightPanel padding + } + } }