mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: issue property height and peek view date picker border radius (#2726)
This commit is contained in:
parent
2d71377722
commit
f8002852e0
@ -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}`}
|
||||||
>
|
>
|
||||||
|
@ -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 ? (
|
||||||
<>
|
<>
|
||||||
|
@ -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()}
|
||||||
|
@ -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}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user