fix(modal): double scrollbar in inside scrollbehaviour (#3495)

* fix(modal): double scrollbar in inside scrollbehaviour

* chore(changeset): update changeset message and add issue number

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
This commit is contained in:
Abhinandan 2024-07-18 23:05:42 +05:30 committed by GitHub
parent 7d61cf3918
commit 8b193072e5
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
---
fixed the issue of double scrollbar in modal with inside `scrollBehavior` (#3942)

View File

@ -157,7 +157,7 @@ const modal = tv({
base: "overflow-y-hidden", base: "overflow-y-hidden",
}, },
inside: { inside: {
base: "max-h-[calc(100%_-_7.5rem)]", base: "max-h-[calc(100%_-_8rem)]",
body: "overflow-y-auto", body: "overflow-y-auto",
}, },
outside: { outside: {