Skip to content

Commit 0f6ff56

Browse files
authored
Merge pull request #88 from team-MoPlus/develop
DesignCSS: ui modified
2 parents a374918 + 48b840e commit 0f6ff56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/containers/Answer/AnswerContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const AnswerContainer = ({ id }: { id: number }) => {
2020
<div className="h-16 text-white my-2 text-xl font-bold bg-orange-500 rounded-lg flex items-center">
2121
<IoChevronBackOutline
2222
size={36}
23-
className="cursor-pointer relative left-2"
23+
className="cursor-pointer relative"
2424
onClick={() => router.back()}
2525
/>
2626
<h1 className="text-center flex-1">오답을 체크하고 답을 입력하세요!</h1>

src/containers/ResultContainer/ResultContainer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const ResultContainer = ({ testResultId }: { testResultId: number }) => {
3939
const documentHeight = document.documentElement.scrollHeight;
4040

4141
// 스크롤이 페이지 하단에 도달했는지 확인
42-
if (scrollTop + windowHeight >= documentHeight - 48) {
42+
if (scrollTop + windowHeight >= documentHeight - 60) {
4343
setIsVisible(false); // 버튼 숨기기
4444
} else {
4545
setIsVisible(true); // 버튼 보이기
@@ -177,7 +177,7 @@ const ResultContainer = ({ testResultId }: { testResultId: number }) => {
177177
<div className="flex justify-center">
178178
{/* Fixed 상태 버튼 */}
179179
{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">
181181
모플 복습서 생성하기
182182
</button>
183183
)}

0 commit comments

Comments
 (0)