mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-23 00:57:44 +00:00
🎨 style: adjust media query minimum width for desktop to match with tailwind large responsive min width
This commit is contained in:
parent
8d3ef369bb
commit
b605c1bc5b
@ -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<User>();
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user