From 7a0b3079bef667803d92c79727a8e4cec34c19c3 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Thu, 28 Apr 2022 16:33:54 +0000 Subject: [PATCH] Fix event text overflow on bubble message layout (#8391) Signed-off-by: Suguru Hirahara --- res/css/views/rooms/_EventBubbleTile.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/res/css/views/rooms/_EventBubbleTile.scss b/res/css/views/rooms/_EventBubbleTile.scss index 1b0c40a839a..4104ae42733 100644 --- a/res/css/views/rooms/_EventBubbleTile.scss +++ b/res/css/views/rooms/_EventBubbleTile.scss @@ -562,6 +562,17 @@ limitations under the License. padding-top: 0; } + .mx_EventTile { + &.mx_EventTile_info { + .mx_EventTile_line { + // Avoid overflow of event info by cancelling width settings + width: 100%; + min-width: 0; + max-width: 100%; + } + } + } + &::after { content: ""; clear: both; @@ -585,7 +596,7 @@ limitations under the License. margin-right: 0; .mx_MessageActionBar { - right: 127px; // align with that of right-column bubbles + right: 48px; // align with that of right-column bubbles } .mx_ReadReceiptGroup {