From b4fa70d1d5ef230991feb4352f1faf5eb75be457 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 12 Sep 2025 16:06:19 +0300 Subject: [PATCH] chore(collections/board): improve fit in multiline --- .../src/widgets/collections/board/index.css | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/apps/client/src/widgets/collections/board/index.css b/apps/client/src/widgets/collections/board/index.css index acadb5b6d..80e0a83cf 100644 --- a/apps/client/src/widgets/collections/board/index.css +++ b/apps/client/src/widgets/collections/board/index.css @@ -43,14 +43,12 @@ background-color: transparent; } -.board-view-container .board-column h3, -.board-view-container .board-note { +.board-view-container .board-column h3 { display: flex; align-items: center; } -.board-view-container .board-column h3 > .title, -.board-view-container .board-note > .title { +.board-view-container .board-column h3 > .title { flex-grow: 1; } @@ -121,6 +119,13 @@ transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.15s ease, margin-top 0.2s ease; opacity: 1; line-height: 1.1; + overflow-wrap: break-word; + overflow: hidden; +} + +.board-view-container .board-note .icon { + margin-right: 0.25em; + display: inline; } .board-view-container .board-note > .edit-icon { @@ -196,10 +201,6 @@ resize: none; } -.board-view-container .board-note .icon { - margin-right: 0.25em; -} - .board-drop-placeholder { height: 40px; margin: 0.65em 0;