Skip to content

Commit

Permalink
[TM-1560] fix modal and add name correct (#783)
Browse files Browse the repository at this point in the history
* [TM-1560] fix modal and add name correct

* [TM-1560] update snapshot
  • Loading branch information
egrojMonroy authored Dec 27, 2024
1 parent 27c7239 commit 4056c7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const StatusDisplay = ({
</Text>
<Text variant="text-12-bold" as="span">
{" "}
{titleStatus == AuditLogEntityEnum.Polygon ? record?.title : removeUnderscore(name)}.
{titleStatus == AuditLogEntityEnum.Polygon ? record?.title || record?.poly_name : removeUnderscore(name)}.
</Text>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/extensive/Modal/ModalConfirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const ModalConfirm: FC<ModalConfirmProps> = ({
};

return (
<ModalBase {...rest} className={tw("min-w-80 p-5", className)}>
<ModalBase {...rest} className={tw("min-w-[30rem] p-5", className)}>
<div className="flex w-full flex-col gap-2">
<Text variant="text-14-bold" className="text-center">
{title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`Storyshots Components/Extensive/Modal/ModalConfirm Default 1`] = `
className="flex items-center justify-center bg-primary-400 p-8"
>
<div
className="margin-4 z-50 m-auto flex max-h-full max-w-[800px] flex-col items-center justify-start overflow-y-auto rounded-lg border-2 border-neutral-100 bg-white min-w-80 p-5"
className="margin-4 z-50 m-auto flex max-h-full max-w-[800px] flex-col items-center justify-start overflow-y-auto rounded-lg border-2 border-neutral-100 bg-white min-w-[30rem] p-5"
>
<div
className="flex w-full flex-col gap-2"
Expand Down

0 comments on commit 4056c7f

Please sign in to comment.