diff --git a/web/src/app/components/DirectionsSidebar.tsx b/web/src/app/components/DirectionsSidebar.tsx index 91ad054..0337492 100644 --- a/web/src/app/components/DirectionsSidebar.tsx +++ b/web/src/app/components/DirectionsSidebar.tsx @@ -255,7 +255,7 @@ export default function DirectionsSidebar({ mapRef, profile = "mapbox/driving" } ref={containerRef} role="region" aria-label="Directions sidebar" - className={`flex flex-col transition-all duration-200 ease-in-out z-40 ${collapsed ? 'w-11 h-11 self-start m-3 rounded-full' : 'w-[340px] h-full bg-[#111214] rounded-tr-lg rounded-br-lg'}`} + className={`relative flex flex-col z-40 ${collapsed ? 'w-11 h-11 self-start m-3 rounded-full overflow-hidden bg-transparent' : 'w-[340px] h-full bg-[#111214] rounded-tr-lg rounded-br-lg'}`} > {/* Toggle */} - {/* Content (hidden when collapsed) */} -