From d03bb15b6bc19a07e10f249ba4e83cf780916457 Mon Sep 17 00:00:00 2001 From: king Date: Tue, 1 Sep 2026 12:11:20 +0900 Subject: [PATCH] =?UTF-8?q?style(cupang):=20=EB=93=B1=EB=A1=9D=20=EC=A0=9C?= =?UTF-8?q?=ED=92=88=20=ED=91=9C=20=EB=82=98=EB=A8=B8=EC=A7=80=20=EC=97=B4?= =?UTF-8?q?=20=ED=8F=AD=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 제품코드 96 / 쿠팡상품코드 112 / 상태 72 / 동작 104 (합계 544px). 머리글과 값이 잘리지 않게 잡고, 코드 열은 12px mono 로 축소. 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/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 | 14 ++++++++++---- 8 files changed, 17 insertions(+), 11 deletions(-) diff --git a/app/modules/cupang/templates/cupang/box_calc.html b/app/modules/cupang/templates/cupang/box_calc.html index cdcbe95..20007f4 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 9f7d023..188e18c 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 d8d4956..0702080 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 d8bdeee..aa645b0 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 c0df8e9..133af3e 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 087e4f6..aaab75b 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 ae2d2fe..71347e3 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 80fadf5..2b52b40 100644 --- a/app/static/cupang.css +++ b/app/static/cupang.css @@ -1104,16 +1104,22 @@ body.cpg-dragging { cursor: grabbing; user-select: none; } text-overflow: ellipsis; vertical-align: middle; } -/* 제품명 160 / 제품코드 96 / 쿠팡상품코드(남는 폭) / 상태 62 / 동작 108 */ +/* 열 폭: 머리글·값이 잘리지 않는 최소치로 잡는다 (합계 544px < 카드 내부 폭) + 제품명 160 / 제품코드 96 / 쿠팡상품코드 112 / 상태 72 / 동작 104 */ .cpg-prod-right .erp-table th:nth-child(1), .cpg-prod-right .erp-table td:nth-child(1) { width: 160px; } .cpg-prod-right .erp-table th:nth-child(2), .cpg-prod-right .erp-table td:nth-child(2) { width: 96px; } +.cpg-prod-right .erp-table th:nth-child(3), +.cpg-prod-right .erp-table td:nth-child(3) { width: 112px; } .cpg-prod-right .erp-table th:nth-child(4), -.cpg-prod-right .erp-table td:nth-child(4) { width: 62px; } +.cpg-prod-right .erp-table td:nth-child(4) { width: 72px; } .cpg-prod-right .erp-table th:nth-child(5), -.cpg-prod-right .erp-table td:nth-child(5) { width: 108px; } -.cpg-prod-right .cpg-sort { max-width: 100%; overflow: hidden; text-overflow: ellipsis; } +.cpg-prod-right .erp-table td:nth-child(5) { width: 104px; } +/* 제품코드·쿠팡상품코드는 mono 라 조금 더 좁게 */ +.cpg-prod-right .erp-table td:nth-child(2), +.cpg-prod-right .erp-table td:nth-child(3) { font-size: 12px; } +.cpg-prod-right .cpg-sort { max-width: 100%; white-space: nowrap; } /* 동작 버튼은 가로 한 줄 */ .cpg-prod-right .cpg-row-actions { flex-wrap: nowrap; gap: 4px; } .cpg-prod-right .cpg-row-actions .erp-btn { padding: 3px 8px; font-size: 12px; line-height: 1.5; }