From f4bd2afe93329af704571cdf581bf07f4f2b2806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=B0=BD=EC=88=98?= Date: Fri, 25 Oct 2024 17:09:01 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=A8=EB=84=90=20=EC=A7=91=EA=B3=84=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/canvas/page.jsx | 12 ++++++------ src/components/canvas/penal/Penal01.jsx | 3 ++- src/components/canvas/penal/Penal02.jsx | 3 ++- src/components/canvas/penal/Penal03.jsx | 3 ++- src/components/canvas/penal/Penal04.jsx | 3 ++- src/styles/_canvasside.scss | 20 +++++++++----------- 6 files changed, 23 insertions(+), 21 deletions(-) diff --git a/src/app/canvas/page.jsx b/src/app/canvas/page.jsx index 8ce27d3..c792b97 100644 --- a/src/app/canvas/page.jsx +++ b/src/app/canvas/page.jsx @@ -80,10 +80,10 @@ export default function CanvasPage() { {/* */} {/* 패널 배치 집계 */} - {/* */} - {/* */} - {/* */} - {/* */} + + + + {/* 배치면 초기 설정 */} {/* */} @@ -186,8 +186,8 @@ export default function CanvasPage() { {/* */} {/* 글꼴 설정, 치수선 설정 */} - - + {/* */} + {/* */} {/* */} {/* 지붕재 선택 */} diff --git a/src/components/canvas/penal/Penal01.jsx b/src/components/canvas/penal/Penal01.jsx index a169138..b83fd5a 100644 --- a/src/components/canvas/penal/Penal01.jsx +++ b/src/components/canvas/penal/Penal01.jsx @@ -5,8 +5,9 @@ export default function Penal01(){ const [penalAct, setPenalAct] = useState(true); return( -
setPenalAct(!penalAct)}> +

パネル配置集計

+
diff --git a/src/components/canvas/penal/Penal02.jsx b/src/components/canvas/penal/Penal02.jsx index a26acef..9f933ea 100644 --- a/src/components/canvas/penal/Penal02.jsx +++ b/src/components/canvas/penal/Penal02.jsx @@ -5,8 +5,9 @@ export default function Penal02(){ const [penalAct, setPenalAct] = useState(true); return( -
setPenalAct(!penalAct)}> +

パネル配置集計

+
diff --git a/src/components/canvas/penal/Penal03.jsx b/src/components/canvas/penal/Penal03.jsx index 2c7dbe3..85b9a54 100644 --- a/src/components/canvas/penal/Penal03.jsx +++ b/src/components/canvas/penal/Penal03.jsx @@ -5,8 +5,9 @@ export default function Penal03(){ const [penalAct, setPenalAct] = useState(true); return( -
setPenalAct(!penalAct)}> +

パネル配置集計

+
diff --git a/src/components/canvas/penal/Penal04.jsx b/src/components/canvas/penal/Penal04.jsx index 2f71201..342f1f2 100644 --- a/src/components/canvas/penal/Penal04.jsx +++ b/src/components/canvas/penal/Penal04.jsx @@ -5,8 +5,9 @@ export default function Penal04(){ const [penalAct, setPenalAct] = useState(true); return( -
setPenalAct(!penalAct)}> +

パネル配置集計

+
diff --git a/src/styles/_canvasside.scss b/src/styles/_canvasside.scss index 66bba83..efb79f0 100644 --- a/src/styles/_canvasside.scss +++ b/src/styles/_canvasside.scss @@ -4,30 +4,28 @@ top: 200px; left: 50px; z-index: 999999; + display: flex; width: 237px; height: 40px; line-height: 40px; background-color: #fff; border: 1px solid #DFDFDF; - padding: 0 34px 0 10px; + padding: 0 10px 0 10px; border-radius: 2px; box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, 0.05); cursor: pointer; - &::before{ - content: ''; - position: absolute; - top: 50%; - right: 12px; - transform: translateY(-50%); - width: 10px; - height: 6px; + .penal-arr{ + flex: none; + width: 24px; + height: 100%; background: url(../../public/static/images/canvas/penal_arr.svg)no-repeat center; - background-size: cover; + background-size: 10px 6px; } h2{ font-size: 12px; font-weight: 500; color: #3D3D3D; + flex: 1; } .penal-table-wrap{ display: none; @@ -69,7 +67,7 @@ h2{ color: #fff; } - &::before{ + .penal-arr{ background: url(../../public/static/images/canvas/penal_arr_white.svg)no-repeat center; } .penal-table-wrap{