From 414c47e24dd4a5899c3d4382156c60022ed8ecc7 Mon Sep 17 00:00:00 2001 From: king Date: Fri, 28 Aug 2026 12:40:14 +0900 Subject: [PATCH] =?UTF-8?q?fix(cupang):=20=EA=B3=84=EC=82=B0=ED=91=9C=20?= =?UTF-8?q?=EC=A0=9C=ED=92=88=EB=AA=85=20=EC=97=B4=EB=A7=8C=20=EC=A2=81?= =?UTF-8?q?=ED=9E=88=EA=B3=A0=20=EB=82=98=EB=A8=B8=EC=A7=80=20=EC=97=B4=20?= =?UTF-8?q?=ED=97=A4=EB=8D=94=20=EC=9E=98=EB=A6=BC=20=EB=B3=B5=EA=B5=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 제품명 열이 남는 폭을 전부 가져가면서 다른 열이 눌려 헤더가 "박…" 처럼 잘렸다. 제품명 열에 고정 폭 180px 을 주고 수량 78 / 박스·입수량 116 / 숫자 64 / 삭제 40 으로 되돌려, 남는 폭은 지정 폭 비율대로 나눠 갖게 한다. Co-Authored-By: Claude Opus 5 --- app/modules/cupang/templates/cupang/box_calc.html | 4 ++-- app/modules/cupang/templates/cupang/box_rules.html | 2 +- app/modules/cupang/templates/cupang/centers.html | 2 +- app/modules/cupang/templates/cupang/detail.html | 2 +- app/modules/cupang/templates/cupang/form.html | 2 +- app/modules/cupang/templates/cupang/index.html | 2 +- app/modules/cupang/templates/cupang/products.html | 2 +- app/static/cupang.css | 11 +++++++---- 8 files changed, 15 insertions(+), 12 deletions(-) diff --git a/app/modules/cupang/templates/cupang/box_calc.html b/app/modules/cupang/templates/cupang/box_calc.html index de33273..e3e4aef 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 %}
@@ -30,7 +30,7 @@
- + diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index b09f549..c65fb50 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/centers.html b/app/modules/cupang/templates/cupang/centers.html index 89124d9..254772d 100644 --- a/app/modules/cupang/templates/cupang/centers.html +++ b/app/modules/cupang/templates/cupang/centers.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/detail.html b/app/modules/cupang/templates/cupang/detail.html index c48247e..2a81585 100644 --- a/app/modules/cupang/templates/cupang/detail.html +++ b/app/modules/cupang/templates/cupang/detail.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/form.html b/app/modules/cupang/templates/cupang/form.html index 3c60d24..fdf1b2b 100644 --- a/app/modules/cupang/templates/cupang/form.html +++ b/app/modules/cupang/templates/cupang/form.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 7e9b688..f3a7b62 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 c5e7167..df8ac99 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/static/cupang.css b/app/static/cupang.css index 4b60532..1b71fa0 100644 --- a/app/static/cupang.css +++ b/app/static/cupang.css @@ -337,10 +337,13 @@ .cpg-calc-table .cpg-calc-box { white-space: nowrap; font-size: 13px; } .cpg-calc-table .cpg-calc-act { text-align: center; } .cpg-calc-table .cpg-calc-del { padding: 2px 8px; line-height: 1.4; } -.cpg-calc-table col.cpg-col-qty { width: 68px; } -.cpg-calc-table col.cpg-col-box { width: 96px; } -.cpg-calc-table col.cpg-col-n { width: 46px; } -.cpg-calc-table col.cpg-col-act { width: 34px; } +/* 제품명 칸을 좁게 고정하고, 나머지 열은 헤더가 잘리지 않을 폭을 준다. + fixed 레이아웃이라 남는 폭은 지정 폭 비율대로 나눠 가진다. */ +.cpg-calc-table col.cpg-col-name { width: 180px; } +.cpg-calc-table col.cpg-col-qty { width: 78px; } +.cpg-calc-table col.cpg-col-box { width: 116px; } +.cpg-calc-table col.cpg-col-n { width: 64px; } +.cpg-calc-table col.cpg-col-act { width: 40px; } /* fixed 레이아웃에서 내용이 셀 밖으로 삐져나와 가로 스크롤이 생기는 것을 막는다. */ .cpg-calc-table th, .cpg-calc-table td { overflow: hidden; text-overflow: ellipsis; } .cpg-calc-table thead th { white-space: nowrap; }