From fcb4e22f7fb59080f74b6ea029c9ea92087154a5 Mon Sep 17 00:00:00 2001 From: RAR Date: Fri, 13 Jan 2023 01:48:22 +0100 Subject: [PATCH] fix: Added ... when list name is too long (changed max to 4 lines) --- client/src/components/List/List.module.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/components/List/List.module.scss b/client/src/components/List/List.module.scss index f2193d2..a7f6e08 100644 --- a/client/src/components/List/List.module.scss +++ b/client/src/components/List/List.module.scss @@ -119,11 +119,14 @@ color: #17394d; font-weight: bold; line-height: 20px; - max-height: 256px; + max-height: 82px; outline: none; overflow: hidden; overflow-wrap: break-word; word-break: break-word; + display: -webkit-box; + -webkit-line-clamp: 4; + -webkit-box-orient: vertical; } .headerNameCollapsed {