@@ -80,10 +80,17 @@ export const ChangeTimeDialog = ({
8080 } , [ open , categoryTimeMinutes , categoryTimeSeconds ] ) ;
8181
8282 return (
83- < Dialog open = { open } onOpenChange = { onOpenChange } fullScreen = { false } animated = { false } >
84- < div className = "flex h-full flex-col" >
85- < div className = "flex flex-1 flex-col items-center justify-center gap-8" >
86- < div className = "flex items-center justify-center gap-2 px-4 py-2" >
83+ < Dialog
84+ open = { open }
85+ onOpenChange = { onOpenChange }
86+ fullScreen = { false }
87+ animated = { false }
88+ contentClassname = "w-[335px]"
89+ >
90+ < div className = "flex h-full flex-col gap-1" >
91+ < div className = "h-[40px]" />
92+ < div className = "flex flex-col" >
93+ < div className = "mb-3 inline-flex items-center justify-center gap-2 px-4 py-2" >
8794 < Icon name = { getCategoryIconName ( category ) } size = "sm" />
8895 < span className = "body-sb text-text-secondary" > { category } </ span >
8996 </ div >
@@ -99,9 +106,9 @@ export const ChangeTimeDialog = ({
99106 < Icon name = "minus" size = "md" />
100107 </ Button >
101108
102- < div className = "flex items-center justify-center gap-3 rounded-md bg-background-secondary px-4 py -5" >
109+ < div className = "flex items-center justify-center gap-3 rounded-md bg-background-secondary p -5" >
103110 < Icon name = { mode === 'focus' ? 'focusTime' : 'restTime' } size = "md" />
104- < div className = "header-1 flex items-center justify-center gap-0.5 tabular-nums text-text-primary" >
111+ < div className = "header-2 flex items-center justify-center gap-0.5 tabular-nums text-text-primary" >
105112 < span > { padNumber ( minutes ) } </ span >
106113 { /* @note : 콜론 가운데 정렬이 되지 않아 이렇게 표시함 */ }
107114 < span className = "mt-[-8px]" > :</ span >
@@ -125,12 +132,17 @@ export const ChangeTimeDialog = ({
125132 </ div >
126133 </ div >
127134 </ div >
128- </ div >
129135
130- < div className = "w-full pb-6 pt-16 text-center" >
131- < Button variant = "secondary" size = "icon" className = "aspect-square p-7" onClick = { applyTime } >
132- < Icon name = "check" size = "lg" />
133- </ Button >
136+ < div className = "mt-11 w-full pb-3 text-center" >
137+ < Button
138+ variant = "secondary"
139+ size = "icon"
140+ className = "aspect-square p-7"
141+ onClick = { applyTime }
142+ >
143+ < Icon name = "check" size = "lg" />
144+ </ Button >
145+ </ div >
134146 </ div >
135147 </ div >
136148 </ Dialog >
0 commit comments