fix: inconsistency in styles (#734)
This commit is contained in:
parent
3947a86fa7
commit
9b1ae6bcd4
6 changed files with 27 additions and 12 deletions
|
|
@ -184,8 +184,7 @@ export const EstimatePointsModal: React.FC<Props> = ({ isOpen, data, estimate, o
|
|||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (!data) return;
|
||||
|
||||
if(!data) return
|
||||
reset({
|
||||
...defaultValues,
|
||||
...data,
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ export const SingleEstimate: React.FC<Props> = ({
|
|||
estimate={estimate}
|
||||
onClose={() => setIsEstimatePointsModalOpen(false)}
|
||||
/>
|
||||
<div className="gap-2 space-y-3 bg-white">
|
||||
<div className="gap-2 space-y-3 my-3 bg-white">
|
||||
<div className="flex justify-between items-center">
|
||||
<div className="items-start">
|
||||
<h6 className="font-medium text-base w-[40vw] truncate">{estimate.name}</h6>
|
||||
|
|
@ -129,7 +129,7 @@ export const SingleEstimate: React.FC<Props> = ({
|
|||
</div>
|
||||
</div>
|
||||
{estimatePoints && estimatePoints.length > 0 ? (
|
||||
<div className="flex gap-2 mt-2">
|
||||
<div className="flex gap-2">
|
||||
{estimatePoints.length > 0 && "Estimate points ("}
|
||||
{estimatePoints.map((point, i) => (
|
||||
<h6 key={point.id}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue