diff --git a/assets/css/main.css b/assets/css/main.css index 3aacdef..8c63b40 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -11,6 +11,7 @@ body { margin: 0; min-height: 100vh; font-feature-settings: "tnum"; + overflow-x: hidden; } input, @@ -22,19 +23,19 @@ button { @layer components { .field { - @apply w-full rounded-md border border-line bg-white px-3 py-3 text-base outline-none transition focus:border-brand-600 focus:ring-2 focus:ring-brand-100; + @apply w-full rounded-md border border-line bg-white px-4 py-2.5 text-sm outline-none transition focus:border-brand-600 focus:ring-2 focus:ring-brand-100; } .label { - @apply mb-1 block text-sm font-medium text-muted; + @apply mb-1 block text-xs font-medium text-muted; } .btn-primary { - @apply inline-flex min-h-12 items-center justify-center rounded-md bg-brand-700 px-4 py-3 text-base font-semibold text-white shadow-soft transition active:scale-[0.99]; + @apply inline-flex min-h-11 items-center justify-center rounded-md bg-brand-700 px-4 py-2.5 text-sm font-semibold text-white shadow-soft transition active:scale-[0.99]; } .btn-secondary { - @apply inline-flex min-h-11 items-center justify-center rounded-md border border-line bg-white px-3 py-2 text-sm font-semibold text-ink transition active:scale-[0.99]; + @apply inline-flex min-h-10 items-center justify-center rounded-md border border-line bg-white px-3 py-2 text-xs font-semibold text-ink transition active:scale-[0.99]; } .segmented { @@ -42,7 +43,7 @@ button { } .segmented-button { - @apply rounded px-3 py-2 text-sm font-semibold text-muted transition; + @apply rounded px-3 py-2 text-xs font-semibold text-muted transition; } .segmented-button-active { diff --git a/components/BottomSheetSelect.vue b/components/BottomSheetSelect.vue index 88d528c..9ea9723 100644 --- a/components/BottomSheetSelect.vue +++ b/components/BottomSheetSelect.vue @@ -8,7 +8,6 @@ @click="open = true" > {{ selected?.label || placeholder }} - ⌄ @@ -40,7 +39,7 @@
-

{{ title }}

+

{{ title }}

@@ -50,12 +49,12 @@ v-for="option in options" :key="option.value" type="button" - class="flex w-full items-center justify-between rounded-md px-3 py-4 text-left active:bg-paper" + class="flex w-full items-center justify-between rounded-md px-3 py-3 text-left active:bg-paper" @click="select(option.value)" > - {{ option.label }} - {{ option.description }} + {{ option.label }} + {{ option.description }} { - if (import.meta.server) return - document.body.style.overflow = value ? 'hidden' : '' -}) - -onBeforeUnmount(() => { - if (import.meta.client) document.body.style.overflow = '' -}) diff --git a/docs/changelog.md b/docs/changelog.md index 2692ce4..829916d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -15,3 +15,7 @@ - 카테고리 관리를 수입/지출별 상위 카테고리 목록과 하위 카테고리 상세 목록 구조로 변경했다. - 카테고리 추가는 상시 노출 입력 폼 대신 헤더의 `+` 버튼과 바텀 시트 입력으로 변경했다. - 카테고리 관리 화면에서 활성/비활성 토글 표시를 제거했다. +- 전역 UI 밀도를 낮추고 입력 필드 좌우 여백을 정리했다. +- 바텀 시트 선택 버튼에서 하단 화살표를 제거했다. +- 로그인 화면이 하단 탭 여백 때문에 스크롤되는 문제를 수정했다. +- 입력 중 스크롤이 튀는 현상을 줄이기 위해 바텀 시트 body overflow 변경과 추가 화면 sticky 저장 버튼을 제거했다. diff --git a/layouts/default.vue b/layouts/default.vue index f1ea29b..dd67c25 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,5 +1,5 @@