From a434402b41b86ccd9eac09493be5b068cf0334a2 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sun, 19 Jun 2022 09:51:24 +0000 Subject: [PATCH] Hide overflow of public room description on spotlight dialog result (#8870) --- res/css/views/dialogs/_SpotlightDialog.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/css/views/dialogs/_SpotlightDialog.scss b/res/css/views/dialogs/_SpotlightDialog.scss index f1155f64c0..b3446b068c 100644 --- a/res/css/views/dialogs/_SpotlightDialog.scss +++ b/res/css/views/dialogs/_SpotlightDialog.scss @@ -283,14 +283,15 @@ limitations under the License. } } .mx_SpotlightDialog_result_publicRoomDescription { - display: -webkit-box; color: $secondary-content; font-size: $font-12px; white-space: normal; word-wrap: break-word; line-height: $font-20px; + display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; + overflow: hidden; } }