From 5a01c6fe5306e38bfd71b8136c1372275e140ee5 Mon Sep 17 00:00:00 2001 From: Rajat yadav Date: Mon, 8 Dec 2025 20:32:11 +0530 Subject: [PATCH] fix: hide filter and action buttons on tablet screens to prevent UI overflow Changed responsive breakpoints from sm: to lg: for filter buttons, Add Task, and Sync buttons. BottomBar now shows on tablets (640px-1024px) like mobile devices. Fixes #221 --- .../src/components/HomeComponents/BottomBar/BottomBar.tsx | 2 +- .../__tests__/__snapshots__/BottomBar.test.tsx.snap | 6 +++--- frontend/src/components/HomeComponents/Tasks/Tasks.tsx | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/HomeComponents/BottomBar/BottomBar.tsx b/frontend/src/components/HomeComponents/BottomBar/BottomBar.tsx index 4931a51a..b0726065 100644 --- a/frontend/src/components/HomeComponents/BottomBar/BottomBar.tsx +++ b/frontend/src/components/HomeComponents/BottomBar/BottomBar.tsx @@ -23,7 +23,7 @@ const BottomBar: React.FC = ({ setSelectedTag, }) => { return ( -
+
{/* Nav Links */}
diff --git a/frontend/src/components/HomeComponents/BottomBar/__tests__/__snapshots__/BottomBar.test.tsx.snap b/frontend/src/components/HomeComponents/BottomBar/__tests__/__snapshots__/BottomBar.test.tsx.snap index 813617d3..1eceb0c1 100644 --- a/frontend/src/components/HomeComponents/BottomBar/__tests__/__snapshots__/BottomBar.test.tsx.snap +++ b/frontend/src/components/HomeComponents/BottomBar/__tests__/__snapshots__/BottomBar.test.tsx.snap @@ -3,7 +3,7 @@ exports[`BottomBar Component using Snapshot renders correctly with only one selected props: Bottom bar with only one selected props 1`] = `