From 446b43ef70e98b558d18ee5c9e25f958ef1572e8 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Thu, 21 Apr 2022 20:22:06 +0000 Subject: [PATCH] Fix event text overflow on bubble message layout 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 ca58c666ccf..a7ab933e57d 100644 --- a/res/css/views/rooms/_EventBubbleTile.scss +++ b/res/css/views/rooms/_EventBubbleTile.scss @@ -559,6 +559,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; @@ -582,7 +593,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_EventTile_readAvatars {