From 76ba2eb8bf8c72cf217bee7386e13ec9b97182ac Mon Sep 17 00:00:00 2001 From: king Date: Wed, 2 Sep 2026 14:40:59 +0900 Subject: [PATCH] =?UTF-8?q?fix(cupang):=20=EB=8B=AC=EB=A0=A5=20=EC=B9=B8?= =?UTF-8?q?=EC=9D=B4=20=EA=B2=B9=EC=B9=98=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=E2=80=94=20=EC=B9=B8=EC=97=90=20box-sizing:=20border-box?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 전역 border-box 가 없어 height:100% + padding/border 가 고정 행 높이를 넘어 아래 주와 겹쳤다. Co-Authored-By: Claude Opus 5 --- app/modules/cupang/templates/cupang/box_calc.html | 2 +- app/modules/cupang/templates/cupang/box_rules.html | 2 +- app/modules/cupang/templates/cupang/index.html | 2 +- app/modules/cupang/templates/cupang/products.html | 2 +- app/modules/cupang/templates/cupang/view.html | 2 +- app/static/cupang.css | 3 +++ 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/modules/cupang/templates/cupang/box_calc.html b/app/modules/cupang/templates/cupang/box_calc.html index 25ee209..4ffaa91 100644 --- a/app/modules/cupang/templates/cupang/box_calc.html +++ b/app/modules/cupang/templates/cupang/box_calc.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index 4c0577b..e5cbb1a 100644 --- a/app/modules/cupang/templates/cupang/box_rules.html +++ b/app/modules/cupang/templates/cupang/box_rules.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/index.html b/app/modules/cupang/templates/cupang/index.html index a45b9c2..223ab38 100644 --- a/app/modules/cupang/templates/cupang/index.html +++ b/app/modules/cupang/templates/cupang/index.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/products.html b/app/modules/cupang/templates/cupang/products.html index 43cf2cd..9e55762 100644 --- a/app/modules/cupang/templates/cupang/products.html +++ b/app/modules/cupang/templates/cupang/products.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/view.html b/app/modules/cupang/templates/cupang/view.html index 639d2dd..5d6c66a 100644 --- a/app/modules/cupang/templates/cupang/view.html +++ b/app/modules/cupang/templates/cupang/view.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %} {# 출고 묶음 보기 — 상자 계산 화면과 같은 3열 구성. 읽기 전용(수정 없음). #} diff --git a/app/static/cupang.css b/app/static/cupang.css index 2bc6cb6..bb4c1fb 100644 --- a/app/static/cupang.css +++ b/app/static/cupang.css @@ -1125,6 +1125,9 @@ body.cpg-dragging { cursor: grabbing; user-select: none; } .cpg-mcal-cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; + /* 이 프로젝트엔 전역 border-box 가 없다. height:100% + padding 이 행 높이를 + 넘어 칸이 겹치던 문제를 막으려면 여기서 box-sizing 을 지정해야 한다. */ + box-sizing: border-box; height: 100%; min-height: 0; min-width: 0; padding: 6px 4px 7px; justify-content: flex-start; border: 1px solid var(--color-subtle-ash);