fix: make button absolute for layout update

This commit is contained in:
p-sw 2024-06-03 15:30:35 +09:00
parent b09ae7caf6
commit 46fda16de8

View File

@ -133,8 +133,8 @@ function TopNav() {
</DrawerTrigger> </DrawerTrigger>
<DrawerOverlay className="z-[99]"> <DrawerOverlay className="z-[99]">
<DrawerContent className="w-[300px] overflow-auto"> <DrawerContent className="w-[300px] overflow-auto">
<DrawerClose className="float-right sticky top-0 right-0"> <DrawerClose className="absolute top-4 right-4">
<Button preset="default" size="icon"> <Button preset="ghost" size="icon">
{/* mdi:close */} {/* mdi:close */}
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"