This commit is contained in:
Anton 2023-12-22 14:13:24 +01:00
parent 18c1159d0e
commit 75769d7a6a

View File

@ -9,7 +9,7 @@ export function Modal({children}) {
{/* You can open the modal using ID.showModal() method */}
<dialog id="my_modal_3" className="tw-modal tw-transition-all tw-duration-300">
<form method="dialog" className="tw-modal-box tw-transition-none">
<button className="tw-btn tw-btn-sm tw-btn-circle tw-btn-ghost tw-absolute tw-right-2 tw-top-2"></button>
<button className="tw-btn tw-btn-sm tw-btn-circle tw-btn-ghost tw-absolute tw-right-2 tw-top-2 focus:tw-outline-none"></button>
{children}
</form>
<form method="dialog" className="tw-modal-backdrop">