From 081feff51faee55b6179b602dd97a7ea54c833fb Mon Sep 17 00:00:00 2001 From: hjjeong Date: Tue, 12 May 2026 14:17:39 +0900 Subject: [PATCH 01/21] =?UTF-8?q?style(rolesList):=20=EB=8B=A4=EB=A5=B8=20?= =?UTF-8?q?=EB=A9=94=EB=89=B4=20=ED=86=A4=EC=97=90=20=EB=A7=9E=EC=B6=B0=20?= =?UTF-8?q?=EC=82=AC=EC=9D=B4=EC=A6=88/=EA=B8=80=EC=94=A8=20=EC=B6=95?= =?UTF-8?q?=EC=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 본문 텍스트 text-sm → text-xs, 헤더 보조 텍스트 text-xs → text-[11px], 카드 헤더 p-3 → p-2.5, 좌측 권한 목록 그리드 260px → 220px. Input/Select h-8 → h-7 (메인) / h-7 → h-6 (서브), 메뉴 트리 row py-2 → py-1.5, 트리 들여쓰기 level*20+12 → level*16+10, chevron h-3.5 → h-3. 4분할 직원 카드 영역 clamp(220, 32vh, 320) → clamp(200, 28vh, 280). Co-Authored-By: Claude Opus 4.7 (1M context) --- .../(main)/admin/userMng/rolesList/page.tsx | 116 +++++++++--------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/frontend/app/(main)/admin/userMng/rolesList/page.tsx b/frontend/app/(main)/admin/userMng/rolesList/page.tsx index b6d62717..01208392 100644 --- a/frontend/app/(main)/admin/userMng/rolesList/page.tsx +++ b/frontend/app/(main)/admin/userMng/rolesList/page.tsx @@ -516,40 +516,40 @@ export default function RolesPage() { return ( - -
+ +
{hasChildren ? ( ) : ( - + )} - + {node.menu_name}
- + handleEditCol(String(node.objid), c === true)} /> - + handleDeleteCol(String(node.objid), c === true)} /> - + handleReadCol(String(node.objid), c === true)} @@ -617,34 +617,34 @@ export default function RolesPage() { )} {/* 상단 4분할: 권한목록 | 권한있는직원 | 이동버튼 | 권한없는직원 */} -
+
{/* 권한 목록 */}
-
-
- -

권한 목록

+
+
+ +

권한 목록

-
-
+
- + setSearchText(e.target.value)} - className="h-8 pl-8 text-xs" + className="h-7 pl-7 text-[11px]" />
{isSuperAdmin && (
- + setMemberSearch(e.target.value)} - className="h-7 pl-7 text-xs" + className="h-6 pl-6 text-[11px]" disabled={!selectedRole} />
@@ -767,7 +767,7 @@ export default function RolesPage() {
{!selectedRole ? (
@@ -788,7 +788,7 @@ export default function RolesPage() { key={u.user_id} onClick={() => toggleMemberCheck(u.user_id)} className={cn( - "flex cursor-pointer items-center gap-2 p-2 transition-colors", + "flex cursor-pointer items-center gap-1.5 p-1.5 transition-colors", checkedMembers.has(u.user_id) ? "bg-muted" : "hover:bg-muted/50", )} > @@ -798,7 +798,7 @@ export default function RolesPage() { onClick={(e) => e.stopPropagation()} />
-
{u.user_name || u.user_id}
+
{u.user_name || u.user_id}
{u.dept_name && (
{u.dept_name} @@ -813,13 +813,13 @@ export default function RolesPage() {
{/* 이동 버튼: --> 삭제 / <-- 추가 */} -
+