From 8409a8400468c4629110b416a7479e4620af6ed4 Mon Sep 17 00:00:00 2001 From: Lakhan Baheti <94619783+1akhanBaheti@users.noreply.github.com> Date: Thu, 7 Dec 2023 18:13:54 +0530 Subject: [PATCH] fix: kanban layout UI (#3023) * fix: quick add placement * fix: assignee avatar size in kanban header * fix: issue detail sidebar scroll * fix: extra margin around links * formatting --- .../issues/issue-layouts/kanban/default.tsx | 6 ++-- .../issue-layouts/kanban/headers/assignee.tsx | 2 +- web/components/issues/sidebar.tsx | 34 ++++++++++--------- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/web/components/issues/issue-layouts/kanban/default.tsx b/web/components/issues/issue-layouts/kanban/default.tsx index 6e2390d50..80d4fdb70 100644 --- a/web/components/issues/issue-layouts/kanban/default.tsx +++ b/web/components/issues/issue-layouts/kanban/default.tsx @@ -109,8 +109,8 @@ const GroupByKanBan: React.FC = observer((props) => { )}
@@ -122,7 +122,7 @@ const GroupByKanBan: React.FC = observer((props) => { {...provided.droppableProps} ref={provided.innerRef} > - {issues ? ( + {issues && !verticalAlignPosition(_list) ? ( Promise; } -export const Icon = ({ user }: any) => ; +export const Icon = ({ user }: any) => ; export const AssigneesHeader: FC = observer((props) => { const { diff --git a/web/components/issues/sidebar.tsx b/web/components/issues/sidebar.tsx index bd645769f..c863d752f 100644 --- a/web/components/issues/sidebar.tsx +++ b/web/components/issues/sidebar.tsx @@ -638,7 +638,7 @@ export const IssueDetailsSidebar: React.FC = observer((props) => {
)} {(fieldsToShow.includes("all") || fieldsToShow.includes("link")) && ( -
+

Links

{isAllowed && ( @@ -654,21 +654,23 @@ export const IssueDetailsSidebar: React.FC = observer((props) => { )}
-
- {issueDetail?.issue_link && issueDetail.issue_link.length > 0 ? ( - - ) : null} -
+ {issueDetail?.issue_link && issueDetail.issue_link.length > 0 && ( +
+ { + + } +
+ )}
)}