fix: add overflow-auto to support native scrolling

This commit is contained in:
p-sw 2024-06-22 07:40:50 +09:00
parent a1e7baa6c4
commit d930c44bb0

View File

@ -146,7 +146,7 @@ const drawerContentColors = {
};
const [drawerContentVariant, resolveDrawerContentVariantProps] = vcn({
base: `fixed ${drawerContentColors.background} ${drawerContentColors.border} transition-all p-4 flex flex-col justify-between gap-8`,
base: `fixed ${drawerContentColors.background} ${drawerContentColors.border} transition-all p-4 flex flex-col justify-between gap-8 overflow-auto`,
variants: {
position: {
top: "top-0 inset-x-0 w-full max-w-screen rounded-t-lg border-b-2",