diff --git a/src/Zone.tsx b/src/Zone.tsx index 9f6d658..ae69878 100644 --- a/src/Zone.tsx +++ b/src/Zone.tsx @@ -2,16 +2,15 @@ import { useState } from 'react' export const Zone = ({ setZone }: { setZone: (zone_name: string) => void }) => { const [toggle, setToggle] = useState(false) - + return ( <> {/* Backdrop with fade animation */} -
setToggle(false)} /> @@ -21,15 +20,15 @@ export const Zone = ({ setZone }: { setZone: (zone_name: string) => void }) => { w-[min(80dvw,400px)] bg-zinc-800 rounded-t-3xl shadow-2xl border-t border-zinc-600 transition-all duration-500 ease-out - ${toggle ? 'h-[45dvh]' : 'h-16'} + ${toggle ? 'h-90' : 'h-16'} `}> - + {/* Drawer handle/button */}
{/* Visual handle indicator */}
- -
) -} \ No newline at end of file +}