feat: make mobile drawer scrollable

This commit is contained in:
p-sw 2024-06-02 09:34:00 +09:00
parent 0daee68832
commit aff9b4f90a

View File

@ -131,9 +131,9 @@ function TopNav() {
</svg>
</Button>
</DrawerTrigger>
<DrawerOverlay>
<DrawerContent className="w-[300px]">
<DrawerClose className="absolute top-2 right-2">
<DrawerOverlay className="z-[99]">
<DrawerContent className="w-[300px] overflow-auto">
<DrawerClose className="float-right sticky top-0 right-0">
<Button preset="default" size="icon">
{/* mdi:close */}
<svg