From b75fda5901243b02a3b2c57bb9bbcc6bcb88b465 Mon Sep 17 00:00:00 2001 From: king Date: Sat, 30 May 2026 05:11:05 +0900 Subject: [PATCH] =?UTF-8?q?ui(cupang):=20=EC=8B=A0=EA=B7=9C/=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=ED=8F=BC=20=EC=A0=80=EC=9E=A5=C2=B7=EC=B7=A8?= =?UTF-8?q?=EC=86=8C=20=EB=B2=84=ED=8A=BC=20=ED=95=98=EB=8B=A8=20sticky=20?= =?UTF-8?q?=EA=B3=A0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 라인 수가 늘어도 저장/취소 위치가 밀리지 않도록 position:sticky bottom Co-Authored-By: Claude Opus 4.8 --- app/modules/cupang/templates/cupang/form.html | 2 +- app/static/cupang.css | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/modules/cupang/templates/cupang/form.html b/app/modules/cupang/templates/cupang/form.html index 75505b2..f087929 100644 --- a/app/modules/cupang/templates/cupang/form.html +++ b/app/modules/cupang/templates/cupang/form.html @@ -83,7 +83,7 @@ -
+
{% if mode == 'edit' %} 취소 diff --git a/app/static/cupang.css b/app/static/cupang.css index 81c8737..da6404e 100644 --- a/app/static/cupang.css +++ b/app/static/cupang.css @@ -80,6 +80,14 @@ @media (max-width: 900px) { .cpg-form-head, .cpg-form-lines { flex-basis: 100%; } } +/* 저장/취소 — 라인 수와 무관하게 하단 고정(스크롤해도 보임) */ +.cpg-form-actions { + position: sticky; bottom: 0; z-index: 5; + margin-top: 16px; + padding: 12px 4px; + background: var(--color-canvas-white); + border-top: 1px solid var(--color-subtle-ash); +} .cpg-card-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; } .cpg-card-head h2 { font-size: 16px; font-weight: 600; margin: 0; }