diff --git a/apps/web/core/components/dropdowns/date.tsx b/apps/web/core/components/dropdowns/date.tsx index 8ffdd5cfb7..d1185c3a9a 100644 --- a/apps/web/core/components/dropdowns/date.tsx +++ b/apps/web/core/components/dropdowns/date.tsx @@ -35,6 +35,7 @@ type Props = TDropdownProps & { closeOnSelect?: boolean; formatToken?: string; renderByDefault?: boolean; + labelClassName?: string; }; export const DateDropdown = observer(function DateDropdown(props: Props) { @@ -62,6 +63,7 @@ export const DateDropdown = observer(function DateDropdown(props: Props) { value, formatToken, renderByDefault = true, + labelClassName = "", } = props; // states const [isOpen, setIsOpen] = useState(defaultOpen); @@ -138,7 +140,7 @@ export const DateDropdown = observer(function DateDropdown(props: Props) { > {!hideIcon && icon} {BUTTON_VARIANTS_WITH_TEXT.includes(buttonVariant) && ( - + {value ? renderFormattedDate(value, formatToken) : placeholder} )} diff --git a/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx b/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx index 70ffe27456..f7f1f64e17 100644 --- a/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx +++ b/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx @@ -327,6 +327,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr disabled={isReadOnly} renderByDefault={isMobile} showTooltip + labelClassName="text-caption-sm-regular" /> @@ -351,6 +352,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr disabled={isReadOnly} renderByDefault={isMobile} showTooltip + labelClassName="text-caption-sm-regular" />