File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
apps/web/src/pages/MemeQuizPage/components/QuizStep Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ const Overlay = styled(motion.div)`
1313 align-items: center;
1414 z-index: 1000;
1515 padding: 0 20px;
16+
17+ // 모달을 살짝 위로 올리기 위한 패딩 추가
18+ padding-bottom: 15vh;
19+
20+ @media screen and (min-width: ${ ( { theme } ) => theme . breakpoints . tablet } ) {
21+ padding-bottom: 0; // 데스크탑에서는 정중앙
22+ }
1623` ;
1724
1825const ModalContainer = styled ( motion . div ) `
@@ -25,6 +32,11 @@ const ModalContainer = styled(motion.div)`
2532 display: flex;
2633 flex-direction: column;
2734 align-items: center;
35+
36+ @media screen and (max-height: 700px) {
37+ padding: 32px 24px; // 작은 화면에서는 패딩 줄임
38+ min-height: 260px;
39+ }
2840` ;
2941
3042const IconWrapper = styled ( motion . div ) `
@@ -39,6 +51,11 @@ const ResultText = styled(motion.p)`
3951 color: ${ ( { theme } ) => theme . palette . common . black } ;
4052 text-align: center;
4153 margin-bottom: 8px;
54+
55+ @media screen and (max-height: 700px) {
56+ ${ ( { theme } ) =>
57+ theme . typography . title . display3 } ; // 작은 화면에서는 폰트 크기 줄임
58+ }
4259` ;
4360
4461const SubText = styled ( motion . p ) `
@@ -68,6 +85,10 @@ const NextButton = styled(motion.button)`
6885 ${ ( { theme } ) => theme . typography . title . subhead1 } ;
6986 color: ${ ( { theme } ) => theme . palette . common . white } ;
7087 cursor: pointer;
88+
89+ @media screen and (max-height: 700px) {
90+ height: 48px; // 작은 화면에서는 버튼 높이 줄임
91+ }
7192` ;
7293
7394export {
You can’t perform that action at this time.
0 commit comments