From a8fdd42cb935427e8281423915fa1ccea998d306 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Wed, 23 Aug 2023 15:43:09 +0530 Subject: [PATCH] fix: label color select popover overflow (#1949) Co-authored-by: Aaryan Khandelwal --- .../components/issues/sidebar-select/label.tsx | 17 ++++------------- apps/app/components/issues/sidebar.tsx | 4 ++-- .../projects/[projectId]/issues/[issueId].tsx | 2 +- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/apps/app/components/issues/sidebar-select/label.tsx b/apps/app/components/issues/sidebar-select/label.tsx index 5f3539c86..3ac2f552e 100644 --- a/apps/app/components/issues/sidebar-select/label.tsx +++ b/apps/app/components/issues/sidebar-select/label.tsx @@ -17,13 +17,7 @@ import useUser from "hooks/use-user"; // ui import { Input, Spinner } from "components/ui"; // icons -import { - ChevronDownIcon, - PlusIcon, - RectangleGroupIcon, - TagIcon, - XMarkIcon, -} from "@heroicons/react/24/outline"; +import { PlusIcon, RectangleGroupIcon, TagIcon, XMarkIcon } from "@heroicons/react/24/outline"; // types import { IIssue, IIssueLabels } from "types"; // fetch-keys @@ -281,18 +275,15 @@ export const SidebarLabelSelect: React.FC = ({ {({ open }) => ( <> - + {watch("color") && watch("color") !== "" && ( )} - = ({ leaveFrom="opacity-100 translate-y-0" leaveTo="opacity-0 translate-y-1" > - + = ({ user={user} />
-
+

{issueDetail?.project_detail?.identifier}-{issueDetail?.sequence_id}

@@ -327,7 +327,7 @@ export const IssueDetailsSidebar: React.FC = ({
-
+
{showFirstSection && (
diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/issues/[issueId].tsx b/apps/app/pages/[workspaceSlug]/projects/[projectId]/issues/[issueId].tsx index be76d28e3..916c0141e 100644 --- a/apps/app/pages/[workspaceSlug]/projects/[projectId]/issues/[issueId].tsx +++ b/apps/app/pages/[workspaceSlug]/projects/[projectId]/issues/[issueId].tsx @@ -148,7 +148,7 @@ const IssueDetailsPage: NextPage = () => {
-
+