fix: constrain AddActionDialog overflow and footer behavior (#26087)

Co-authored-by: Dhairyashil Shinde <[email protected]>
This commit is contained in:
Eesh MidhaandDhairyashil Shinde authored and GitHub committed 2025-12-21 17:08:37 +00:00
1 parent 2da6f5b3b1
commit 4b4565b19d
1 file changed
+3 -3
@@ -55,7 +55,7 @@ type AddActionFormValues = {
numberRequired?: boolean;
senderId?: string;
senderName?: string;
};
};
export const AddActionDialog = (props: IAddActionDialog) => {
const { t } = useLocale();
@@ -138,7 +138,7 @@ export const AddActionDialog = (props: IAddActionDialog) => {
return (
<Dialog open={isOpenDialog} onOpenChange={setIsOpenDialog}>
<DialogContent enableOverflow type="creation" title={t("add_action")}>
<DialogContent type="creation" title={t("add_action")}>
<div className="-mt-3 space-x-3">
<Form
form={form}
@@ -257,7 +257,7 @@ export const AddActionDialog = (props: IAddActionDialog) => {
/>
</div>
)}
<DialogFooter showDivider className="mt-12">
<DialogFooter showDivider noSticky className="mt-12">
<DialogClose
onClick={() => {
setIsOpenDialog(false);