File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/ui/src/components/overlay Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export const MobileBlockOverlay = ({title}: MobileBlockOverlayProps) => {
1212
1313 useEffect ( ( ) => {
1414 const checkMobile = ( ) => {
15- setIsMobile ( window . innerWidth < 720 ) ;
15+ setIsMobile ( window . innerWidth < 1024 ) ;
1616 } ;
1717
1818 checkMobile ( ) ;
@@ -27,7 +27,7 @@ export const MobileBlockOverlay = ({title}: MobileBlockOverlayProps) => {
2727 role = 'dialog'
2828 aria-modal = 'true'
2929 aria-labelledby = 'mobile-block-title'
30- className = { `... ${ isMobile === null ? 'hidden max-[720px] :flex min-[720px] :hidden' : '' } ` } >
30+ className = { `fixed inset-0 z-104 flex flex-col items-center justify-center bg-black p-10 text-center ${ isMobile === null ? 'hidden max-lg :flex lg :hidden' : '' } ` } >
3131 < CotatoLogo />
3232 < div className = 'mt-20 flex flex-col gap-10' >
3333 < h1 id = 'mobile-block-title' className = 'text-h2 font-bold text-white' >
You can’t perform that action at this time.
0 commit comments