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> </svg>
</Button> </Button>
</DrawerTrigger> </DrawerTrigger>
<DrawerOverlay> <DrawerOverlay className="z-[99]">
<DrawerContent className="w-[300px]"> <DrawerContent className="w-[300px] overflow-auto">
<DrawerClose className="absolute top-2 right-2"> <DrawerClose className="float-right sticky top-0 right-0">
<Button preset="default" size="icon"> <Button preset="default" size="icon">
{/* mdi:close */} {/* mdi:close */}
<svg <svg