From 73c91654eb82a21b8d2e67d6a71bf22a0f053d8f Mon Sep 17 00:00:00 2001 From: Ramesh Kumar Chandra <31303617+rameshkumarchandra@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:29:00 +0530 Subject: [PATCH] [WEB-716] style: list view issues responsiveness (#3938) --- .../issues/issue-layouts/list/block.tsx | 81 ++++++++++--------- 1 file changed, 45 insertions(+), 36 deletions(-) diff --git a/web/components/issues/issue-layouts/list/block.tsx b/web/components/issues/issue-layouts/list/block.tsx index 099137348..bab55a639 100644 --- a/web/components/issues/issue-layouts/list/block.tsx +++ b/web/components/issues/issue-layouts/list/block.tsx @@ -44,53 +44,62 @@ export const IssueBlock: React.FC = observer((props: IssueBlock return (
- {displayProperties && displayProperties?.key && ( -
- {projectIdentifier}-{issue.sequence_id} +
+
+ {displayProperties && displayProperties?.key && ( +
+ {projectIdentifier}-{issue.sequence_id} +
+ )} + + {issue?.tempId !== undefined && ( +
+ )} + + {issue?.is_draft ? ( + + {issue.name} + + ) : ( + handleIssuePeekOverview(issue)} + className="w-full line-clamp-1 cursor-pointer text-sm text-custom-text-100" + disabled={!!issue?.tempId} + > + + {issue.name} + + + )}
- )} - - {issue?.tempId !== undefined && ( -
- )} - - {issue?.is_draft ? ( - - {issue.name} - - ) : ( - handleIssuePeekOverview(issue)} - className="w-full line-clamp-1 cursor-pointer text-sm text-custom-text-100" - disabled={!!issue?.tempId} - > - - {issue.name} - - - )} - -
+ {!issue?.tempId && ( +
{quickActions(issue)}
+ )} +
+
{!issue?.tempId ? ( <> - {quickActions(issue)} +
{quickActions(issue)}
) : (