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; }