mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
css fix
This commit is contained in:
parent
e96599c731
commit
a42dabb13b
@ -8,7 +8,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 tw-mt-2 tw-mb-2 tw-h-[calc(100%-1rem)]">
|
||||
<form method="dialog" className="tw-modal-box tw-transition-none">
|
||||
<form method="dialog" className="tw-modal-box tw-transition-none tw-h-[calc(100%-6rem)]">
|
||||
<button className="tw-btn tw-btn-sm tw-btn-circle tw-btn-ghost tw-absolute tw-right-2 tw-top-2">✕</button>
|
||||
{children}
|
||||
</form>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user