diff --git a/frontend/app/(main)/screens/[screenId]/page.tsx b/frontend/app/(main)/screens/[screenId]/page.tsx index 5ce253cb..86362ec8 100644 --- a/frontend/app/(main)/screens/[screenId]/page.tsx +++ b/frontend/app/(main)/screens/[screenId]/page.tsx @@ -221,6 +221,7 @@ function ScreenViewPage() { // 모바일 환경에서는 스케일 조정 비활성화 (반응형만 작동) if (isMobile) { setScale(1); + setLayoutReady(true); // 모바일에서도 레이아웃 준비 완료 표시 return; } diff --git a/frontend/components/layout/AppLayout.tsx b/frontend/components/layout/AppLayout.tsx index 0d23a88e..449a9c49 100644 --- a/frontend/components/layout/AppLayout.tsx +++ b/frontend/components/layout/AppLayout.tsx @@ -423,28 +423,80 @@ function AppLayoutInner({ children }: AppLayoutProps) { const uiMenus = convertMenuToUI(currentMenus, user as ExtendedUserInfo); return ( -
- {/* 모바일 사이드바 오버레이 */} - {sidebarOpen && isMobile && ( -
setSidebarOpen(false)} /> +
+ {/* 모바일 헤더 - 모바일에서만 표시 */} + {isMobile && ( +
+
+ {/* 햄버거 메뉴 버튼 */} + setSidebarOpen(!sidebarOpen)} /> + +
+ {/* 사용자 드롭다운 */} + + + + + + +
+

+ {user.userName || "사용자"} +

+

+ {user.deptName || user.email || user.userId} +

+
+
+ + + + 프로필 + + + + 로그아웃 + +
+
+
)} - {/* 왼쪽 사이드바 */} - - {/* 가운데 컨텐츠 영역 - 스크롤 가능 */} -
- {children} -
+ {/* 가운데 컨텐츠 영역 - 스크롤 가능 */} +
+ {children} +
+
{/* 프로필 수정 모달 */}