From 807685028cb8e274b8a7a7d63d9e3ec02e42839d Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 24 Jun 2021 17:35:44 +0200 Subject: [PATCH] Break long list titles in list overview --- src/styles/components/namespaces.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/styles/components/namespaces.scss b/src/styles/components/namespaces.scss index 6ed934631..e7b2e2cf5 100644 --- a/src/styles/components/namespaces.scss +++ b/src/styles/components/namespaces.scss @@ -124,6 +124,13 @@ $lists-per-row: 5; color: $text; width: 100%; margin-bottom: 0; + max-height: calc(100% - 2rem); // 1rem padding, 1rem height of the "is archived" badge + overflow: hidden; + text-overflow: ellipsis; + + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; } &.has-light-text .title {