Fix grid blowout on pinned event tiles (#8816)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2022-06-17 06:34:33 +00:00 committed by GitHub
parent 4653394a1f
commit c5bc91291d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,14 @@ limitations under the License.
border-top: 1px solid $menu-border-color; 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 { .mx_PinnedEventTile_senderAvatar {
grid-area: avatar; grid-area: avatar;
} }