diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 9c5de77f..9882ca9c 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -33,13 +33,13 @@ function MainLayout() { const [navOpen, setNavOpen] = useState(!(isMobile || isTablet)); return ( -
+
diff --git a/frontend/src/Navigation.tsx b/frontend/src/Navigation.tsx index aed38181..f3850da9 100644 --- a/frontend/src/Navigation.tsx +++ b/frontend/src/Navigation.tsx @@ -292,20 +292,26 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) { useDefaultDocument(); return ( <> - {!navOpen && ( -
+ {(isMobile || isTablet) && navOpen && ( +
setNavOpen(false)} + /> + )} + + { +
{queries?.length > 0 && ( @@ -313,6 +319,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) { onClick={() => { newChat(); }} + className="transition-transform duration-200 hover:scale-110" >
- )} + }