Skip to content

Commit 2e77c02

Browse files
committed
feat: MemeQuizPage 스타일 수정
- MemeQuizStart 및 MemeQuizResult 컴포넌트의 높이를 100vh로 변경하여 전체 화면을 차지하도록 수정함 - MemeQuizStart의 텍스트 섹션 마진을 rem 단위로 변경하여 일관성을 높임
1 parent d3bb439 commit 2e77c02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/web/src/pages/MemeQuizPage/components/MemeQuizResult/MemeQuizResult.styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { motion } from 'motion/react';
44
const Container = styled(motion.div)`
55
position: relative;
66
width: 100%;
7-
height: 100%;
7+
height: 100vh;
88
display: flex;
99
flex-direction: column;
1010
align-items: center;
@@ -16,7 +16,7 @@ const ResultCard = styled(motion.div)`
1616
width: calc(100% - 40px);
1717
max-width: ${({ theme }) => theme.breakpoints.mobile};
1818
height: 481px;
19-
margin-top: 70px;
19+
margin-top: 4.375rem;
2020
border-radius: 14px;
2121
background: linear-gradient(
2222
135deg,

apps/web/src/pages/MemeQuizPage/components/MemeQuizStart/MemeQuizStart.styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { motion } from 'motion/react';
44
const Container = styled(motion.div)`
55
position: relative;
66
width: 100%;
7-
height: 100%;
7+
height: 100vh;
88
display: flex;
99
flex-direction: column;
1010
align-items: center;
@@ -16,7 +16,7 @@ const Container = styled(motion.div)`
1616
`;
1717

1818
const TextSection = styled(motion.div)`
19-
margin-top: 158px;
19+
margin-top: 9.875rem;
2020
text-align: center;
2121
width: 100%;
2222
padding: 0 24px;

0 commit comments

Comments
 (0)