Skip to content

Commit 26b71aa

Browse files
committed
授業登録画面を修正
1 parent 3ce6f37 commit 26b71aa

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

web/app/signup/page.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@ function Registration() {
7777
export default function RegistrationPage() {
7878
return (
7979
<NavigateByAuthState type="toHomeForAuthenticated">
80-
<div className="absolute top-14 right-0 bottom-0 left-0 overflow-y-auto">
80+
<div className="flex h-screen flex-col">
8181
<Header title="登録/Register" />
82-
<Registration />
82+
<div className="mt-14 flex-1">
83+
<Registration />
84+
</div>
8385
</div>
8486
</NavigateByAuthState>
8587
);

web/app/signup/steps/step4_course.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ import EditableCoursesTable from "~/components/course/EditableCoursesTable";
66
export default function Step4() {
77
const { state } = useMyID();
88
return (
9-
<>
10-
<div>
9+
<div className="flex h-full flex-col">
10+
<div className="flex flex-1">
1111
{state.current === "loading" ? (
1212
<FullScreenCircularProgress />
1313
) : state.current === "error" ? (
1414
<p>Error: {state.error.message}</p>
1515
) : (
16-
<div className="mx-4 mt-4 flex flex-col gap-4">
16+
<div className="mx-4 mt-4 flex flex-1 flex-col gap-4">
1717
<h1>授業情報の登録 (スキップ可)</h1>
18-
<div>
18+
<div className="flex-1">
1919
<EditableCoursesTable userId={state.data} />
2020
</div>
2121
</div>
2222
)}
2323
</div>
24-
<div className="b-0 fixed flex w-full justify-between p-6">
24+
<div className="flex w-full justify-between p-6">
2525
<span />
2626
<Link href="/tutorial" className="btn btn-primary">
2727
次へ
2828
</Link>
2929
</div>
30-
</>
30+
</div>
3131
);
3232
}

0 commit comments

Comments
 (0)