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
6c6c539fbb
commit
e96af21ff0
@ -7,8 +7,8 @@ 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-max-h-[calc(100%-1rem)]">
|
||||
<form method="dialog" className="tw-modal-box tw-transition-none tw-max-h-[calc(100%-2rem)]">
|
||||
<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>
|
||||
{children}
|
||||
</form>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
}
|
||||
|
||||
.tw-modal-box {
|
||||
max-height: calc(100vh - 2em);
|
||||
max-height: calc(100dvh - 2em);
|
||||
}
|
||||
|
||||
.Toastify__toast {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user