File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const AnswerContainer = ({ id }: { id: number }) => {
20
20
< div className = "h-16 text-white my-2 text-xl font-bold bg-orange-500 rounded-lg flex items-center" >
21
21
< IoChevronBackOutline
22
22
size = { 36 }
23
- className = "cursor-pointer relative left-2 "
23
+ className = "cursor-pointer relative"
24
24
onClick = { ( ) => router . back ( ) }
25
25
/>
26
26
< h1 className = "text-center flex-1" > 오답을 체크하고 답을 입력하세요!</ h1 >
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const ResultContainer = ({ testResultId }: { testResultId: number }) => {
39
39
const documentHeight = document . documentElement . scrollHeight ;
40
40
41
41
// 스크롤이 페이지 하단에 도달했는지 확인
42
- if ( scrollTop + windowHeight >= documentHeight - 48 ) {
42
+ if ( scrollTop + windowHeight >= documentHeight - 60 ) {
43
43
setIsVisible ( false ) ; // 버튼 숨기기
44
44
} else {
45
45
setIsVisible ( true ) ; // 버튼 보이기
@@ -177,7 +177,7 @@ const ResultContainer = ({ testResultId }: { testResultId: number }) => {
177
177
< div className = "flex justify-center" >
178
178
{ /* Fixed 상태 버튼 */ }
179
179
{ isVisible && (
180
- < button className = "fixed w-1 /5 bottom-4 bg-orange-500 text-white p-4 text-sm rounded-lg shadow-lg" >
180
+ < button className = "fixed w-2 /5 bottom-4 bg-orange-500 text-white p-4 text-sm rounded-lg shadow-lg" >
181
181
모플 복습서 생성하기
182
182
</ button >
183
183
) }
You can’t perform that action at this time.
0 commit comments