Skip to content

Commit

Permalink
feat: Update tablet breakpoint to 1023px in useMobile and global styles
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagodallacqua-hpe committed Sep 30, 2024
1 parent 162348c commit 0e49f4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webui/react/src/hooks/useMobile.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import useResize from './useResize';

const MOBILE_BREAKPOINT = 480;
const TABLET_BREAKPOINT = 890;
const TABLET_BREAKPOINT = 1023;

const useMobile = (): boolean => {
const { width } = useResize();
Expand Down
2 changes: 1 addition & 1 deletion webui/react/src/styles/global.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$breakpoint-mobile: 480px;
$breakpoint-tablet: 768px;
$breakpoint-tablet-large: 980px;
$breakpoint-tablet-large: 1023px;
$breakpoint-desktop-small: 1024px;
$breakpoint-desktop-medium: 1200px;
$breakpoint-desktop-large: 1400px;

0 comments on commit 0e49f4c

Please sign in to comment.