Skip to content

Commit 3b29a45

Browse files
committed
Merge branch 'develop' of https://github.com/IT-Cotato/COTATO-FE-v2 into feat/homepage/65-cotato.kr/recruit
2 parents 96c4554 + 8c9a497 commit 3b29a45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ui/src/components/overlay/MobileBlockOverlay.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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'>

0 commit comments

Comments
 (0)