From c5bc91291d21eb52d7418c6bb992465533a70590 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Fri, 17 Jun 2022 06:34:33 +0000 Subject: [PATCH] Fix grid blowout on pinned event tiles (#8816) Signed-off-by: Suguru Hirahara --- res/css/views/rooms/_PinnedEventTile.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/res/css/views/rooms/_PinnedEventTile.scss b/res/css/views/rooms/_PinnedEventTile.scss index d31b1cbcda..82de811b28 100644 --- a/res/css/views/rooms/_PinnedEventTile.scss +++ b/res/css/views/rooms/_PinnedEventTile.scss @@ -34,6 +34,14 @@ limitations under the License. border-top: 1px solid $menu-border-color; } + .mx_PinnedEventTile_senderAvatar, + .mx_PinnedEventTile_sender, + .mx_PinnedEventTile_unpinButton, + .mx_PinnedEventTile_message, + .mx_PinnedEventTile_footer { + min-width: 0; // Prevent a grid blowout + } + .mx_PinnedEventTile_senderAvatar { grid-area: avatar; }