mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
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:
parent
7d61cf3918
commit
8b193072e5
5
.changeset/seven-onions-explain.md
Normal file
5
.changeset/seven-onions-explain.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@nextui-org/theme": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fixed the issue of double scrollbar in modal with inside `scrollBehavior` (#3942)
|
||||||
@ -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: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user