From 162faf8339547c6df552540819812ac7594ab1b4 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Thu, 9 Nov 2023 18:29:45 +0530 Subject: [PATCH] fix: date select tooltip fix (#2740) --- .../issues/issue-layouts/properties/date.tsx | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/web/components/issues/issue-layouts/properties/date.tsx b/web/components/issues/issue-layouts/properties/date.tsx index f39741e19..1ba4dbaaa 100644 --- a/web/components/issues/issue-layouts/properties/date.tsx +++ b/web/components/issues/issue-layouts/properties/date.tsx @@ -46,24 +46,25 @@ export const IssuePropertyDate: React.FC = observer((props) disabled ? "cursor-not-allowed text-custom-text-200" : "cursor-pointer hover:bg-custom-background-80" }`} > - -
- - {value && ( - <> +
+ + {value && ( + <> +
{value}
-
{ - if (onChange) onChange(null); - }} - > - -
- - )} -
- + + +
{ + if (onChange) onChange(null); + }} + > + +
+ + )} +