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>
<DrawerOverlay className="z-[99]">
<DrawerContent className="w-[300px] overflow-auto">
<DrawerClose className="float-right sticky top-0 right-0">
<Button preset="default" size="icon">
<DrawerClose className="absolute top-4 right-4">
<Button preset="ghost" size="icon">
{/* mdi:close */}
<svg
xmlns="http://www.w3.org/2000/svg"