From c856d433d666aabd938bfec1ff6e8205b0578d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Mon, 16 Aug 2021 10:08:16 +0200 Subject: [PATCH] Trim long display names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- res/css/views/messages/_CallEvent.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/res/css/views/messages/_CallEvent.scss b/res/css/views/messages/_CallEvent.scss index 2d9caf1569..830cc0b1db 100644 --- a/res/css/views/messages/_CallEvent.scss +++ b/res/css/views/messages/_CallEvent.scss @@ -95,17 +95,23 @@ limitations under the License. flex-direction: row; align-items: center; margin-left: 12px; + min-width: 0; .mx_CallEvent_info_basic { display: flex; flex-direction: column; margin-left: 10px; // To match mx_CallEvent + min-width: 0; .mx_CallEvent_sender { font-weight: 600; font-size: 1.5rem; line-height: 1.8rem; margin-bottom: 3px; + + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } .mx_CallEvent_type { @@ -142,6 +148,7 @@ limitations under the License. color: $secondary-fg-color; margin-right: 16px; gap: 8px; + min-width: max-content; .mx_CallEvent_content_button { height: 24px;