Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improvement: adjust sidebar mobile breakpoint

Scott Wilsone1b49726e5fe
diff --git a/frontend/src/components/v3/generic/Sidebar/Sidebar.tsx b/frontend/src/components/v3/generic/Sidebar/Sidebar.tsx
index cf87770c62..d75c098d2a 100644
--- a/frontend/src/components/v3/generic/Sidebar/Sidebar.tsx
+++ b/frontend/src/components/v3/generic/Sidebar/Sidebar.tsx
@@ -13,7 +13,7 @@ import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "
import { Skeleton } from "../Skeleton";
import { Tooltip, TooltipContent, TooltipTrigger } from "../Tooltip";
-const MOBILE_BREAKPOINT = 768;
+const MOBILE_BREAKPOINT = 1024;
function useIsMobile() {
const [isMobile, setIsMobile] = React.useState(
diff --git a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx
index 20ce8a4e00..0e17439f12 100644
--- a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx
+++ b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx
@@ -345,7 +345,7 @@ export const Navbar = () => {
!isServerAdminPanel && !isProjectScope && !isSubOrganization && "from-org/5"
)}
>
- <SidebarTrigger variant="ghost" className="ml-2 md:hidden" />
+ <SidebarTrigger variant="ghost" className="ml-2 lg:hidden" />
<div className="mr-auto flex h-full min-w-34 items-center">
{isServerAdminPanel ? (
<div className="flex h-full items-center">