diff --git a/resources/scripts/components/dashboard/AccountOverviewContainer.tsx b/resources/scripts/components/dashboard/AccountOverviewContainer.tsx index 6826955fb..646f7690e 100644 --- a/resources/scripts/components/dashboard/AccountOverviewContainer.tsx +++ b/resources/scripts/components/dashboard/AccountOverviewContainer.tsx @@ -11,19 +11,19 @@ import MessageBox from '@/components/MessageBox'; import { useLocation } from 'react-router-dom'; const Container = styled.div` - ${tw`flex flex-wrap`}; + ${tw`flex flex-wrap`}; - & > div { - ${tw`w-full`}; + & > div { + ${tw`w-full`}; - ${breakpoint('md')` - width: calc(50% - 1rem); - `} + ${breakpoint('sm')` + width: calc(50% - 1rem); + `} - ${breakpoint('xl')` - ${tw`w-auto flex-1`}; - `} - } + ${breakpoint('md')` + ${tw`w-auto flex-1`}; + `} + } `; export default () => { @@ -36,21 +36,23 @@ export default () => { Your account must have two-factor authentication enabled in order to continue. } - + + - + + ); }; diff --git a/resources/scripts/theme.ts b/resources/scripts/theme.ts index 9dd0b467d..8679ebaa7 100644 --- a/resources/scripts/theme.ts +++ b/resources/scripts/theme.ts @@ -3,8 +3,8 @@ import { BreakpointFunction, createBreakpoint } from 'styled-components-breakpoi type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; export const breakpoint: BreakpointFunction = createBreakpoint({ xs: 0, - sm: 576, + sm: 640, md: 768, - lg: 992, - xl: 1200, + lg: 1024, + xl: 1280, });