From 74de5d6f6929ff0f3d5ef9b076da7f26e2b3c866 Mon Sep 17 00:00:00 2001 From: sanguu516 Date: Tue, 11 Jun 2024 10:52:54 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=96=89=20=EC=8A=B9=EC=9D=B8=20?= =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20width=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/custom.css | 4 +-- src/components/flight/FlightApprovalsTable.js | 34 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/assets/css/custom.css b/src/assets/css/custom.css index 3f25045e..bdd5963a 100644 --- a/src/assets/css/custom.css +++ b/src/assets/css/custom.css @@ -1181,7 +1181,7 @@ caption {overflow: hidden; line-height: 0;text-indent: -2000px;} .flight-approval .rdt_TableHeadRow>div{display:none} .flight-approval .rdt_TableHeadRow .rdt_TableCol{display:block;font-size:0.8rem;} .flight-approval .rdt_TableHeadRow .rdt_TableCol div{font-weight:600} -.flight-approval-layer{width:660px;overflow:scroll;} +.flight-approval-layer{width:630px;overflow:scroll;} .layer-ti-sub{display:block;font-size:0.875rem;color:#777;margin-top:-4px;} .flight-approval-layer .layer-ti-sub{margin-bottom:0.5rem} .flight-approval-layer .calendar-flat svg{color:#8a1c05} @@ -1214,6 +1214,6 @@ caption {overflow: hidden; line-height: 0;text-indent: -2000px;} .sc-AxhCb.sc-AxmLO {display: none;} /* .bg-color div{background:#eeeeee} */ -.flight-approval-layer .react-dataTable .rdt_TableHead .rdt_TableHeadRow .custom-header-cell{text-align:center;line-height:1.3;} +.flight-approval-layer .react-dataTable .rdt_TableHead .rdt_TableHeadRow .custom-header-cell{text-align:center;line-height:1.3;font-size: 11px;} .flight-approval-layer .react-dataTable .rdt_TableHead .rdt_TableHeadRow{height:auto} .flight-approval-in-table .rdt_TableRow:last-child{border-bottom:1px solid rgba(0, 0, 0, .12);} \ No newline at end of file diff --git a/src/components/flight/FlightApprovalsTable.js b/src/components/flight/FlightApprovalsTable.js index 387486f0..96bc0c8a 100644 --- a/src/components/flight/FlightApprovalsTable.js +++ b/src/components/flight/FlightApprovalsTable.js @@ -48,7 +48,7 @@ export default function FlightApprovalsTable(props) { ), selector: row => row.applyNo, center: true, - width: '71px', + width: '68px', cell: row => { return ( <> @@ -69,7 +69,7 @@ export default function FlightApprovalsTable(props) { ), selector: row => row.applyDt, center: true, - width: '71px', + width: '68px', cell: row => { return ( <> @@ -91,7 +91,7 @@ export default function FlightApprovalsTable(props) { selector: row => row.areaList[0].zoneNo, center: true, // sortable: true, - width: '71px', + width: '68px', cell: row => { return row.areaList[0].zoneNo + '번'; } @@ -106,7 +106,7 @@ export default function FlightApprovalsTable(props) { ), selector: row => row.areaList[0].lat, center: true, - width: '110px', + width: '101px', cell: row => { return ( <> @@ -127,7 +127,7 @@ export default function FlightApprovalsTable(props) { ), selector: row => row.areaList[0].bufferZone, center: true, - width: '71px', + width: '68px', // sortable: true, cell: row => { return row.areaList[0].bufferZone; @@ -143,7 +143,7 @@ export default function FlightApprovalsTable(props) { ), selector: row => row.areaList[0].fltElev, center: true, - width: '71px', + width: '68px', // sortable: true, cell: row => { return row.areaList[0].fltElev; @@ -159,7 +159,7 @@ export default function FlightApprovalsTable(props) { ), selector: row => row.areaList[0].approvalCd, center: true, - width: '71px', + width: '68px', // sortable: true, cell: row => { return row.areaList[0].approvalCd === 'U' @@ -174,11 +174,11 @@ export default function FlightApprovalsTable(props) { name: '더보기', selector: row => row.areaList, center: true, - width: '85px', + width: '86px', cell: row => row.areaList.length > 1 ? ( ) : ( @@ -192,7 +192,7 @@ export default function FlightApprovalsTable(props) { { selector: row => row.applyNo, center: true, - width: '71px', + width: '68px', cell: row => { return ( <> @@ -206,7 +206,7 @@ export default function FlightApprovalsTable(props) { { selector: row => row.applyDt, center: true, - width: '71px', + width: '68px', cell: row => { return ( <> @@ -221,7 +221,7 @@ export default function FlightApprovalsTable(props) { selector: row => row.zoneNo, center: true, sortable: true, - width: '71px', + width: '68px', cell: row => { return row.zoneNo + '번'; } @@ -229,7 +229,7 @@ export default function FlightApprovalsTable(props) { { selector: row => row.lat, center: true, - width: '110px', + width: '101px', sortable: true, cell: row => { return ( @@ -244,7 +244,7 @@ export default function FlightApprovalsTable(props) { { selector: row => row.bufferZone, center: true, - width: '71px', + width: '68px', sortable: true, cell: row => { return row.bufferZone; @@ -253,7 +253,7 @@ export default function FlightApprovalsTable(props) { { selector: row => row.fltElev, center: true, - width: '71px', + width: '68px', sortable: true, cell: row => { return row.fltElev; @@ -262,7 +262,7 @@ export default function FlightApprovalsTable(props) { { selector: row => row.approvalCd, center: true, - width: '71px', + width: '68px', sortable: true, cell: row => { return row.approvalCd === 'U' @@ -275,7 +275,7 @@ export default function FlightApprovalsTable(props) { { selector: row => row.approvalCd, center: true, - width: '85px', + width: '86px', cell: row => { return '-'; }