Skip to content

Commit 1fcf0ef

Browse files
authored
Merge pull request #517 from solid-connection/chore/setup-worktree-20260504
fix(web): 비밀번호 변경 페이지 확인 버튼 overflow 수정
2 parents 5e6e9eb + ef03b47 commit 1fcf0ef

1 file changed

Lines changed: 29 additions & 27 deletions

File tree

  • apps/web/src/app/my/password/_ui/PasswordContent

apps/web/src/app/my/password/_ui/PasswordContent/index.tsx

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)