From 152d88a1ac7476106c36c8ba1987203417c60f19 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sun, 26 Jun 2022 23:28:45 +0900 Subject: [PATCH 1/2] Set 100% max-width to mx_DisambiguatedProfile on TimelineCard Signed-off-by: Suguru Hirahara --- res/css/views/right_panel/_TimelineCard.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/res/css/views/right_panel/_TimelineCard.scss b/res/css/views/right_panel/_TimelineCard.scss index ac982bf0fd8..b5cea290471 100644 --- a/res/css/views/right_panel/_TimelineCard.scss +++ b/res/css/views/right_panel/_TimelineCard.scss @@ -49,6 +49,10 @@ limitations under the License. margin-inline-start: var(--BaseCard_EventTile-spacing-inline); } + .mx_DisambiguatedProfile { + max-width: calc(100% - var(--BaseCard_EventTile-spacing-inline)); // instead of $left-gutter + } + .mx_ReplyTile .mx_DisambiguatedProfile { margin-inline-start: 0; } From 8dad97f252dff1d6f5e035bfad59e44bd727e917 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sun, 26 Jun 2022 23:33:10 +0900 Subject: [PATCH 2/2] Unset the max-width value inside ReplyTile Signed-off-by: Suguru Hirahara --- res/css/views/right_panel/_TimelineCard.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/res/css/views/right_panel/_TimelineCard.scss b/res/css/views/right_panel/_TimelineCard.scss index b5cea290471..93eb6c1b4e9 100644 --- a/res/css/views/right_panel/_TimelineCard.scss +++ b/res/css/views/right_panel/_TimelineCard.scss @@ -55,6 +55,7 @@ limitations under the License. .mx_ReplyTile .mx_DisambiguatedProfile { margin-inline-start: 0; + max-width: unset; } .mx_ReactionsRow {