Commit a128aad3 authored by tom goriunov's avatar tom goriunov Committed by GitHub

Merge pull request #104 from blockscout/mobile-view-navigation

fix breakpoints
parents 5e8b705e 2135ed2b
import { useBreakpointValue } from '@chakra-ui/react';
export default function useIsMobile() {
return useBreakpointValue({ base: true, lg: false });
}
const breakpoints = {
// maybe we need them in future
// sm: '320px',
// md: '768px',
lg: '1000px',
// these breakpoints are needed just to make "lg" work
xl: '2000px',
'2xl': '3000px',
};
export default breakpoints;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment