- 모달 overflow-x:hidden(내부 넘침이 페이지를 가로로 밀지 않게) - ChipSelect min-width:0+box-sizing로 긴 계좌명이 그리드를 넓히지 않게 - cat-input(소분류 추가) flex-wrap로 버튼 잘림 방지 + 계좌 선택 영역 배경 패널(3열) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -502,6 +502,7 @@ onBeforeUnmount(destroySortables)
|
||||
/* ── 인라인 추가 입력 ──────────────────────────────────── */
|
||||
.cat-input {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.35rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@@ -33,18 +33,23 @@ function pick(v, disabled) {
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
/* 균일 박스 그리드 — 한 줄에 3개 고정, 이름 길이 달라도 정렬 */
|
||||
/* 계좌 선택 영역: 배경 패널 안에 칩 3개씩 균일 정렬 */
|
||||
.chip-select {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 0.4rem;
|
||||
min-width: 0; /* 긴 계좌명이 그리드를 부모보다 넓게 밀어 가로 오버플로우 나는 것 방지 */
|
||||
box-sizing: border-box;
|
||||
background: rgba(127, 127, 127, 0.08);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
.cs-chip {
|
||||
padding: 0.55rem 0.5rem;
|
||||
/* 테마(모달 배경)와 무관하게 보이도록 회색 틴트 + 진한 테두리 */
|
||||
border: 1.5px solid var(--color-border-hover);
|
||||
padding: 0.5rem 0.5rem;
|
||||
border: 1px solid var(--color-border-hover);
|
||||
border-radius: 8px;
|
||||
background: rgba(127, 127, 127, 0.09);
|
||||
background: var(--color-background);
|
||||
color: var(--color-text);
|
||||
font-size: 0.85rem;
|
||||
font-weight: 500;
|
||||
|
||||
Reference in New Issue
Block a user