diff --git a/src/features/settings/SettingsScreen.tsx b/src/features/settings/SettingsScreen.tsx index 8b1a802..5f2be89 100644 --- a/src/features/settings/SettingsScreen.tsx +++ b/src/features/settings/SettingsScreen.tsx @@ -79,7 +79,7 @@ function SettingsScreen() { - + setLogoutOpen(true)} diff --git a/src/features/settings/components/SettingsSection.tsx b/src/features/settings/components/SettingsSection.tsx index b74dafa..87b0e92 100644 --- a/src/features/settings/components/SettingsSection.tsx +++ b/src/features/settings/components/SettingsSection.tsx @@ -4,20 +4,14 @@ import type { ReactNode } from "react"; interface SettingsSectionProps { /** 섹션 라벨("계정 정보"·"서비스 정보") — 알림 설정·로그아웃 카드처럼 없는 섹션도 있다 */ title?: string; - /** Figma 기준 행 사이 간격: 계정 정보·서비스 정보는 20px, 로그아웃은 16px */ - rowGap?: "default" | "compact"; children: ReactNode; } // Figma: 설정 화면(nodeId 3524:152322)의 흰 카드 — Account Section(3524:152329), // Notification Settings Section(3524:152343), Service Info Section(3524:152347), // Logout Section(3524:152359) 넷이 같은 배경·radius·padding이라 하나로 합쳤다. -// 섹션 라벨 유무와 행 간격만 다르다. -function SettingsSection({ - title, - rowGap = "default", - children, -}: SettingsSectionProps) { +// 섹션 라벨 유무만 다르고, 행 사이는 모두 20px이다(로그아웃 카드도 수정 5364:3268에서 16 → 20px). +function SettingsSection({ title, children }: SettingsSectionProps) { return (
{title && ( @@ -30,11 +24,7 @@ function SettingsSection({ {title} )} -
- {children} -
+
{children}
); }