From cb7bd9b003cba3c3448884e525695e4979061691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Mon, 22 Jan 2024 17:56:25 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EB=89=B4=EA=B6=8C=ED=95=9C=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=20css=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/css/page.css | 16 ++++------------ .../src/pages/admin/config/MenuAuthMgt.jsx | 8 ++++---- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/egovframe-template-simple-react-contribution/src/css/page.css b/egovframe-template-simple-react-contribution/src/css/page.css index b3f8327..3dc156c 100644 --- a/egovframe-template-simple-react-contribution/src/css/page.css +++ b/egovframe-template-simple-react-contribution/src/css/page.css @@ -191,21 +191,13 @@ .roleList .head > span:nth-child(1) {width: 120px;} .roleList .head > span:nth-child(2) {width: 180px;} .roleList .head > span:nth-child(3) {width: 120px;} - .roleList .head > span:nth-child(4) {width: 60px;} - .roleList .head > span:nth-child(5) {width: 60px;} - .roleList .head > span:nth-child(6) {width: 60px;} - .roleList .head > span:nth-child(7) {width: 60px;} - .roleList .head > span:nth-child(8) {width: 60px;} - .roleList .head > span:nth-child(9) {width: 100px;} + .roleList .head .checkboxDiv {width: 60px;} + .roleList .head .saveBtnDiv {width: 100px;} .roleList .result .list_item > div:nth-child(1) {width: 120px;} .roleList .result .list_item > div:nth-child(2) {width: 180px;} .roleList .result .list_item > div:nth-child(3) {width: 120px;} - .roleList .result .list_item > div:nth-child(4) {width: 60px;} - .roleList .result .list_item > div:nth-child(5) {width: 60px;} - .roleList .result .list_item > div:nth-child(6) {width: 60px;} - .roleList .result .list_item > div:nth-child(7) {width: 60px;} - .roleList .result .list_item > div:nth-child(8) {width: 60px;} - .roleList .result .list_item > div:nth-child(9) {width: 100px;} + .roleList .result .list_item .checkboxDiv {width: 60px;} + .roleList .result .list_item .saveBtnDiv {width: 100px;} /* 사이트소개 */ .SITE_INTRO .ds_1 .t_1 {margin-top: 52px; color: #000; font-size: 26px; font-weight: 500; text-align: center;} diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/config/MenuAuthMgt.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/config/MenuAuthMgt.jsx index e45d15e..727c93d 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/config/MenuAuthMgt.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/config/MenuAuthMgt.jsx @@ -31,7 +31,7 @@ function MenuAuthMgt(props) { const checkboxs = []; roleList.forEach(function (role) { checkboxs.push( -
+
{ const checked = e.target.checked; @@ -51,7 +51,7 @@ function MenuAuthMgt(props) {
{item.menuTitle}
{item.menuGroup}
{checkboxs} -
+
@@ -60,7 +60,7 @@ function MenuAuthMgt(props) { if(!mutListTag.length) mutListTag.push(

검색된 결과가 없습니다.

); // 게시판 목록 초기값 roleList.forEach(function (item, index) { - headerTag.push({item.itemNm}) + headerTag.push({item.itemNm}) }); setListTag(mutListTag); @@ -128,7 +128,7 @@ function MenuAuthMgt(props) { 메뉴 이름 부모 메뉴 {roleHeader} - +
{listTag}