File tree Expand file tree Collapse file tree
apps/web/src/app/my/password/_ui/PasswordContent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,33 +106,35 @@ const PasswordContent = () => {
106106 </ >
107107 ) }
108108
109- < div className = "fixed bottom-0 left-0 mb-20 w-full px-5 py-4" >
110- { step === 0 && (
111- < button
112- type = "button"
113- onClick = { handleNextStep }
114- disabled = { ! isStep1ButtonEnabled }
115- className = { clsx (
116- "w-full rounded-lg py-4 text-white transition-colors typo-sb-9" ,
117- isStep1ButtonEnabled ? "bg-primary-600 hover:bg-primary-700" : "cursor-not-allowed bg-gray-400" ,
118- ) }
119- >
120- 확인
121- </ button >
122- ) }
123-
124- { step === 1 && (
125- < button
126- type = "submit"
127- disabled = { ! isStep2ButtonEnabled }
128- className = { clsx (
129- "w-full rounded-lg py-4 text-white transition-colors typo-sb-9" ,
130- isStep2ButtonEnabled ? "bg-primary-600 hover:bg-primary-700" : "cursor-not-allowed bg-gray-400" ,
131- ) }
132- >
133- 변경하기
134- </ button >
135- ) }
109+ < div className = "fixed bottom-0 left-0 right-0 mb-20 w-full py-4" >
110+ < div className = "mx-auto w-full max-w-app px-5" >
111+ { step === 0 && (
112+ < button
113+ type = "button"
114+ onClick = { handleNextStep }
115+ disabled = { ! isStep1ButtonEnabled }
116+ className = { clsx (
117+ "w-full rounded-lg py-4 text-white transition-colors typo-sb-9" ,
118+ isStep1ButtonEnabled ? "bg-primary-600 hover:bg-primary-700" : "cursor-not-allowed bg-gray-400" ,
119+ ) }
120+ >
121+ 확인
122+ </ button >
123+ ) }
124+
125+ { step === 1 && (
126+ < button
127+ type = "submit"
128+ disabled = { ! isStep2ButtonEnabled }
129+ className = { clsx (
130+ "w-full rounded-lg py-4 text-white transition-colors typo-sb-9" ,
131+ isStep2ButtonEnabled ? "bg-primary-600 hover:bg-primary-700" : "cursor-not-allowed bg-gray-400" ,
132+ ) }
133+ >
134+ 변경하기
135+ </ button >
136+ ) }
137+ </ div >
136138 </ div >
137139 </ form >
138140 </ FormProvider >
You can’t perform that action at this time.
0 commit comments