대시보드 관련 기타 수정사항 #123

Merged
hyeonsu merged 10 commits from feat/dashboard into main 2025-10-21 17:29:00 +09:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 8a2aa49910 - Show all commits

View File

@ -401,7 +401,7 @@ function AppLayoutInner({ children }: AppLayoutProps) {
onLogout={handleLogout}
/>
<div className="flex flex-1">
<div className="flex flex-1 pt-14">
{/* 모바일 사이드바 오버레이 */}
{sidebarOpen && isMobile && (
<div className="fixed inset-0 z-30 bg-black/50 lg:hidden" onClick={() => setSidebarOpen(false)} />
@ -413,7 +413,7 @@ function AppLayoutInner({ children }: AppLayoutProps) {
isMobile
? (sidebarOpen ? "translate-x-0" : "-translate-x-full") + " fixed top-14 left-0 z-40"
: "relative top-0 z-auto translate-x-0"
} flex h-full w-72 max-w-72 min-w-72 flex-col border-r border-slate-200 bg-white transition-transform duration-300`}
} flex h-[calc(100vh-3.5rem)] w-72 max-w-72 min-w-72 flex-col border-r border-slate-200 bg-white transition-transform duration-300`}
>
{/* 사이드바 상단 - Admin/User 모드 전환 버튼 (관리자만) */}
{(user as ExtendedUserInfo)?.userType === "admin" && (