diff options
Diffstat (limited to 'packages/aml-backoffice-ui/src/handlers/Dialog.tsx')
-rw-r--r-- | packages/aml-backoffice-ui/src/handlers/Dialog.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/aml-backoffice-ui/src/handlers/Dialog.tsx b/packages/aml-backoffice-ui/src/handlers/Dialog.tsx index f9899e94e..7b41fe487 100644 --- a/packages/aml-backoffice-ui/src/handlers/Dialog.tsx +++ b/packages/aml-backoffice-ui/src/handlers/Dialog.tsx @@ -5,8 +5,8 @@ export function Dialog({ children, onClose }: { onClose?: () => void; children: <div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"></div> <div class="fixed inset-0 z-10 w-screen overflow-y-auto"> - <div class="flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"> - <div class="relative transform overflow-hidden rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-sm sm:p-6"> + <div class="flex min-h-full items-center justify-center p-4 text-center "> + <div class="relative transform overflow-hidden rounded-lg bg-white p-1 text-left shadow-xl transition-all" onClick={(e) => e.stopPropagation()}> {children} </div> </div> |