Update responsive breakpoints for various components, implement useIsSidebarCompact hook

This commit is contained in:
Matteo Parenti
2026-02-15 14:24:50 +01:00
parent 66dcca50f8
commit 4ff3e2a60f
10 changed files with 98 additions and 76 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
const MOBILE_BREAKPOINT = 1144; // hide sidebar below this width
const MOBILE_BREAKPOINT = 768;
export function useIsMobile(): boolean {
const [isMobile, setIsMobile] = useState(() =>