fix(theme): set the min-height of base height to 100dvh where size equals "full" (#2684)

* fix(modal): set the min-height of base height to 100dvh where size equals "full"

* chore(changeset): add changeset

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
This commit is contained in:
Hyden Liu 2024-09-12 20:21:52 +08:00 committed by GitHub
parent 54bd9cdd6d
commit 142f394cb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---
set the min-height of base height to 100dvh where size equals `full` (#2681)

View File

@ -102,7 +102,7 @@ const modal = tv({
base: "max-w-5xl",
},
full: {
base: "my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] !rounded-none",
base: "my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] min-h-[100dvh] !rounded-none",
},
},
radius: {