fix: 폼 셀렉트 높이를 input·버튼과 통일 (font 상속 리셋)
CI / build (push) Successful in 36s

- 네이티브 select 가 폰트 미상속으로 input 과 높이 달라 보이던 이질감 해소
- 전역 input/select/textarea { font: inherit } + select 기본 padding/border 정렬
- CategoryView 대분류 select 폰트 오버라이드 제거

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-22 23:39:37 +09:00
parent 6ab8d331e3
commit f55443b823
2 changed files with 18 additions and 1 deletions
+18
View File
@@ -4,6 +4,24 @@
font-weight: normal;
}
/* 폼 요소 폰트 상속(표준 리셋) — 네이티브 input/select/textarea 가 서로 폰트·높이 달라
보이던 이질감 해소. (개별 화면 scoped 스타일이 더 구체적이면 그쪽이 우선) */
input,
select,
textarea {
font: inherit;
}
/* scoped 스타일이 없는 select 의 기본 모양을 input 과 맞춤 */
select {
box-sizing: border-box;
padding: 0.5rem 0.7rem;
border: 1px solid var(--color-border);
border-radius: 4px;
background: var(--color-background-soft);
color: var(--color-text);
line-height: 1.3;
}
/* 네이티브 앱(Capacitor) safe-area: 상단 상태바 / 하단 제스처바 영역 확보 */
html.is-native .layout-top {
/* 상태바 높이(safe-area)에 더해 여유 간격을 줘서 헤더가 상태바에 붙지 않게 */
-1
View File
@@ -267,7 +267,6 @@ button.danger {
}
.parent-sel {
max-width: 40%;
font-size: 0.85rem;
}
.new-cat .parent-sel {
flex: 0 0 auto;