fix: constrain AddActionDialog overflow and footer behavior (#26087)
Co-authored-by: Dhairyashil Shinde <93669429+dhairyashiil@users.noreply.github.com>
This commit is contained in:
co-authored by
Dhairyashil Shinde
parent
2da6f5b3b1
commit
4b4565b19d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user