From c671d07a39afa7435bfdc8e476e77398106f82ee Mon Sep 17 00:00:00 2001 From: geun <1416geun@naver.com> Date: Thu, 25 Aug 2022 16:56:53 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=96=89=EA=B3=84=ED=9A=8D=EC=8B=A0?= =?UTF-8?q?=EC=B2=AD=EC=84=9C=20=EC=82=AD=EC=A0=9C=EB=B2=84=ED=8A=BC=20?= =?UTF-8?q?=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 | 11 +++- .../basis/flight/plan/FlightPlanForm.js | 57 +++++++++---------- 2 files changed, 37 insertions(+), 31 deletions(-) diff --git a/src/assets/css/custom.css b/src/assets/css/custom.css index 7afb0e1..8483445 100644 --- a/src/assets/css/custom.css +++ b/src/assets/css/custom.css @@ -743,4 +743,13 @@ background-size: 75% auto; .layer-content-box .history-btn{border-radius:4px;display:block;width:100%;height:45px;line-height:45px;text-align:center;font-size: 0.875rem;color:#ddd;font-weight:500;} .layer-content-box .history-btn:hover{border-radius:4px;background:#00cfe8;border-color:#00cfe8;transition: 0.3s ease;-webkit-transition: 0.3s ease;} .historyModal .drone-ti span{font-weight:500;margin-top:6px} -.historyModal .drone-name{color:#00cfe8;margin:0 10px 0 0;} \ No newline at end of file +.historyModal .drone-name{color:#00cfe8;margin:0 10px 0 0;} + +.search-info-box-del-btn{display: flex; align-items: center;} +.search-info-box-del-btn button{cursor: pointer;margin-top:10px} +@media (max-width: 992px){ + .search-info-box-del-btn button { + margin-bottom:1rem; + margin-top:0px; + } +} diff --git a/src/components/basis/flight/plan/FlightPlanForm.js b/src/components/basis/flight/plan/FlightPlanForm.js index 33c3d05..7f612e9 100644 --- a/src/components/basis/flight/plan/FlightPlanForm.js +++ b/src/components/basis/flight/plan/FlightPlanForm.js @@ -158,7 +158,7 @@ const FlightPlanForm = ({data, handleModal, handleChange, handleSave, handleDele *비행시작일자 *비행종료일자 { - + - {data.groupNm? - ( - - - handleDeleteArray({ type: 'pilot', index }) - } - outline - > - - 삭제 - - - ) - : - ( - <> - ) - } + + {data.groupNm? + ( + + handleDeleteArray({ type: 'pilot', index }) + } + > + + + + ) + : + ( + <> + ) + } + ) } @@ -734,7 +733,7 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => { /> - +