style: issue due date selector width fix (#1033)

This commit is contained in:
Anmol Singh Bhatia 2023-05-11 17:01:58 +05:30 committed by GitHub
parent a1d7a4ea55
commit 34f4580b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ export const ViewDueDateSelect: React.FC<Props> = ({ issue, partialUpdateIssue,
return (
<Tooltip tooltipHeading="Due Date" tooltipContent={issue.target_date ?? "N/A"}>
<div
className={`group relative ${
className={`group relative max-w-[6.5rem] ${
issue.target_date === null
? ""
: issue.target_date < new Date().toISOString()