From b605c1bc5b370dcf028bea70375d56405b3ca901 Mon Sep 17 00:00:00 2001 From: Wahyu Kurniawan Date: Wed, 6 Mar 2024 15:27:29 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style:=20adjust=20media=20query?= =?UTF-8?q?=20minimum=20width=20for=20desktop=20to=20match=20with=20tailwi?= =?UTF-8?q?nd=20large=20responsive=20min=20width?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/shared/Sidebar/Sidebar.tsx | 2 +- packages/frontend/src/pages/org-slug/layout.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx index 8493cd1e..e6ea17c6 100644 --- a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx +++ b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx @@ -34,7 +34,7 @@ export const Sidebar = ({ mobileOpen }: SidebarProps) => { const navigate = useNavigate(); const client = useGQLClient(); const { disconnect } = useDisconnect(); - const isDesktop = useMediaQuery('(min-width: 1024px)'); + const isDesktop = useMediaQuery('(min-width: 960px)'); const [user, setUser] = useState(); diff --git a/packages/frontend/src/pages/org-slug/layout.tsx b/packages/frontend/src/pages/org-slug/layout.tsx index ece5123a..19515ea7 100644 --- a/packages/frontend/src/pages/org-slug/layout.tsx +++ b/packages/frontend/src/pages/org-slug/layout.tsx @@ -23,7 +23,7 @@ export const DashboardLayout = ({ ...props }: DashboardLayoutProps) => { const { orgSlug } = useParams(); - const isDesktop = useMediaQuery('(min-width: 1024px)'); + const isDesktop = useMediaQuery('(min-width: 960px)'); const [isSidebarOpen, setIsSidebarOpen] = useState(false); const [isSearchOpen, setIsSearchOpen] = useState(false);