From 53ee2f31b397b3abd6a208a88492be2f6eaaeebe Mon Sep 17 00:00:00 2001 From: kunish Date: Sat, 23 Sep 2023 20:43:57 +0800 Subject: [PATCH] feat(modal): adjust padding of the modal header and footer --- src/components/Modal.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx index 6ebde08..b71986e 100644 --- a/src/components/Modal.tsx +++ b/src/components/Modal.tsx @@ -10,8 +10,8 @@ type Props = { action?: JSX.Element } -const actionClass = - 'sticky bottom-0 z-50 flex items-center justify-end bg-base-100 bg-opacity-80 p-6 backdrop-blur' +const actionClassName = + 'sticky bottom-0 z-50 flex items-center justify-end bg-base-100 bg-opacity-80 p-4 backdrop-blur' export const Modal: ParentComponent = (props) => { let dialogRef: HTMLDialogElement | undefined @@ -22,24 +22,24 @@ export const Modal: ParentComponent = (props) => { class="modal modal-bottom sm:modal-middle" >