Skip to content

Commit 55d1c2f

Browse files
authored
fix: 스크롤 이상현상 수정 + 페이지 레이아웃 수정
* fix: 스크롤 이상현상 수정 * fix: 페이지 레이아웃 수정
1 parent a453b7c commit 55d1c2f

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

src/assets/styles/index.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,8 @@
9292
}
9393
body {
9494
@apply font-sans antialiased bg-background text-foreground;
95+
overflow: hidden;
96+
position: fixed;
97+
width: 100%;
9598
}
9699
}

src/pages/CoreMembers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const GitHubLinkUrl = ({ username }: { username: string }) => {
6464
const CoreMembers: React.FC = () => {
6565
return (
6666
<MobileLayout>
67-
<div className='mt-[28px] ml-[12px] flex'>
67+
<div className='mt-16 ml-[12px] flex'>
6868
<img
6969
className='w-[21px] h-[24px] cursor-pointer'
7070
alt='logo'

src/pages/Main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const Main: React.FC = () => {
168168
</div>
169169

170170
{/* 바텀마진용용 */}
171-
<div className='flex w-full bg-mainBlack min-h-[2px]' />
171+
<div className='flex w-full bg-mainBlack min-h-[60px]' />
172172
</div>
173173
</MobileLayout>
174174
)

src/pages/Recruit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const Recruit: React.FC = () => {
7777
<MobileLayout>
7878
<RecruitHeader title="컴퓨터 소프트웨어 공학과 전공 동아리 다솜 34기 모집 폼" />
7979
<RecruitUI />
80-
<div className=" flex flex-col items-center gap-6 ">
80+
<div className=" flex flex-col items-center gap-6 mb-40 ">
8181
<form className="mt-3 bg-mainBlack w-full px-2" onSubmit={handleSubmit}>
8282
<InputField label="이름" required />
8383
<InputField label="학번" required />

src/pages/RecruitMeeting.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const RecruitMeeting: React.FC = () => {
3838
<MobileLayout>
3939
<RecruitHeader title='컴퓨터 소프트웨어 공학과 전공 동아리 다솜 34기 모집 폼' />
4040
<RecruitUI />
41-
<div className='flex flex-col items-center w-full'>
41+
<div className='flex flex-col items-center w-full mb-40'>
4242
<p className='font-pretendardBold text-white text-center bg-mainColor max-w-[90%] w-full mt-6'>
4343
1차 서류에 합격되신 점 다시 한번 축하드리며,
4444
<br />
@@ -51,7 +51,7 @@ const RecruitMeeting: React.FC = () => {
5151
<MeetingTimeSelector onSelect={handleTimeSelect} />
5252
</div>
5353
<button
54-
className={`font-pretendardBold text-white text-center mt-20 mb-20 p-1 w-[140px] h-[40px] ${activebtn ? 'bg-mainColor' : 'bg-subGrey3 opacity-30'}`}
54+
className={`font-pretendardBold text-white text-center mt-20 p-1 w-[140px] h-[40px] ${activebtn ? 'bg-mainColor' : 'bg-subGrey3 opacity-30'}`}
5555
onClick={handleSubmit}
5656
disabled={!activebtn}>
5757
면접일정 예약하기

src/pages/RecruitSubmitMeeting.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ import React from 'react'
22
import { useLocation } from 'react-router-dom'
33
import MobileLayout from '../components/layout/MobileLayout'
44
import { Header } from '../components/UI/Header'
5+
import { RecruitHeader, RecruitUI } from '../components/UI/RecruitUI'
56

67
const RecruitSubmitMeeting: React.FC = () => {
78
const location = useLocation()
89
const { date, time } = location.state as { date: string; time: string }
910

1011
return (
1112
<MobileLayout>
12-
<div className='flex flex-col items-center w-full mt-6'>
13+
<RecruitHeader title='컴퓨터 소프트웨어 공학과 전공 동아리 다솜 34기 모집 폼' />
14+
<RecruitUI />
15+
<div className='flex flex-col items-center w-full mt-12'>
1316
<p className='font-pretendardBold text-white text-center bg-mainColor w-[90%]'>
1417
면접일 제출이 완료되었습니다.
1518
<br />

0 commit comments

Comments
 (0)