fix: issue property height and peek view date picker border radius (#2726)

This commit is contained in:
sabith-tu 2023-11-08 17:55:28 +05:30 committed by GitHub
parent 2d71377722
commit f8002852e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -110,7 +110,7 @@ export const IssuePropertyEstimates: React.FC<IIssuePropertyEstimates> = observe
<button <button
ref={setReferenceElement} ref={setReferenceElement}
type="button" type="button"
className={`flex items-center justify-between gap-1 w-full text-xs px-2.5 py-1 rounded border-[0.5px] border-custom-border-300 ${ className={`flex items-center justify-between gap-1 h-5 w-full text-xs px-2.5 py-1 rounded border-[0.5px] border-custom-border-300 ${
disabled ? "cursor-not-allowed text-custom-text-200" : "cursor-pointer hover:bg-custom-background-80" disabled ? "cursor-not-allowed text-custom-text-200" : "cursor-pointer hover:bg-custom-background-80"
} ${buttonClassName}`} } ${buttonClassName}`}
> >

View File

@ -93,7 +93,7 @@ export const IssuePropertyLabels: React.FC<IIssuePropertyLabels> = observer((pro
}); });
const label = ( const label = (
<div className="flex items-center gap-2 text-custom-text-200"> <div className="flex items-center h-5 gap-2 text-custom-text-200">
{value.length > 0 ? ( {value.length > 0 ? (
value.length <= maxRender ? ( value.length <= maxRender ? (
<> <>

View File

@ -116,7 +116,7 @@ export const IssuePropertyState: React.FC<IIssuePropertyState> = observer((props
<button <button
ref={setReferenceElement} ref={setReferenceElement}
type="button" type="button"
className={`flex items-center justify-between gap-1 w-full text-xs px-2.5 py-1 rounded border-[0.5px] border-custom-border-300 ${ className={`flex items-center justify-between h-5 gap-1 w-full text-xs px-2.5 py-1 rounded border-[0.5px] border-custom-border-300 ${
disabled ? "cursor-not-allowed text-custom-text-200" : "cursor-pointer hover:bg-custom-background-80" disabled ? "cursor-not-allowed text-custom-text-200" : "cursor-pointer hover:bg-custom-background-80"
} ${buttonClassName}`} } ${buttonClassName}`}
onClick={() => !projectStatesByGroup && fetchProjectStates()} onClick={() => !projectStatesByGroup && fetchProjectStates()}

View File

@ -255,7 +255,7 @@ export const PeekOverviewProperties: FC<IPeekOverviewProperties> = observer((pro
placeholder="Start date" placeholder="Start date"
value={issue.start_date} value={issue.start_date}
onChange={handleStartDate} onChange={handleStartDate}
className="bg-custom-background-80 border-none !px-2.5 !py-0.5" className="bg-custom-background-80 !rounded border-none !px-2.5 !py-0.5"
maxDate={maxDate ?? undefined} maxDate={maxDate ?? undefined}
disabled={disableUserActions} disabled={disableUserActions}
/> />
@ -273,7 +273,7 @@ export const PeekOverviewProperties: FC<IPeekOverviewProperties> = observer((pro
placeholder="Due date" placeholder="Due date"
value={issue.target_date} value={issue.target_date}
onChange={handleTargetDate} onChange={handleTargetDate}
className="bg-custom-background-80 border-none !px-2.5 !py-0.5" className="bg-custom-background-80 !rounded border-none !px-2.5 !py-0.5"
minDate={minDate ?? undefined} minDate={minDate ?? undefined}
disabled={disableUserActions} disabled={disableUserActions}
/> />