From bd1a850f3557603aae87b93d393ddf1862a8c377 Mon Sep 17 00:00:00 2001 From: Ramesh Kumar Chandra <31303617+rameshkumarchandra@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:12:36 +0530 Subject: [PATCH] style: kanban card label overflow (#2722) * chore: kanban card lable drop down items overflow * style: kaban card label text overflow, tool tip, hover cursor * style: label overflow in list layout --- .../issue-layouts/properties/labels.tsx | 66 +++++++++++-------- .../issues/issue-layouts/properties/state.tsx | 4 +- 2 files changed, 40 insertions(+), 30 deletions(-) diff --git a/web/components/issues/issue-layouts/properties/labels.tsx b/web/components/issues/issue-layouts/properties/labels.tsx index 3f0f6552d..1b35f0495 100644 --- a/web/components/issues/issue-layouts/properties/labels.tsx +++ b/web/components/issues/issue-layouts/properties/labels.tsx @@ -65,14 +65,14 @@ export const IssuePropertyLabels: React.FC = observer((pro value: label.id, query: label.name, content: ( -
+
- {label.name} +
{label.name}
), })); @@ -93,31 +93,39 @@ export const IssuePropertyLabels: React.FC = observer((pro }); const label = ( -
+
{value.length > 0 ? ( value.length <= maxRender ? ( <> {(projectLabels ? projectLabels : []) ?.filter((l) => value.includes(l.id)) .map((label) => ( -
-
- - {label.name} +
+
+ +
+ {label.name} +
+
-
+ ))} ) : ( -
+
= observer((pro ) ) : (
Select labels
@@ -148,7 +155,7 @@ export const IssuePropertyLabels: React.FC = observer((pro return ( = observer((pro