Skip to content

Commit abec675

Browse files
authored
Merge pull request #192 from MBTips/style/홈페이지-줄바꿈-문제-개선
style: 홈페이지 내부 font가 360px일 때 줄바꿈 되는 문제 개선
2 parents 3128eb3 + c41edb2 commit abec675

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/StrokeBanner.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ const StrokeBanner = () => {
2323
친구 정보를 저장하고 대화할 수 있어요
2424
</strong>
2525
<p className="mt-2 text-sm font-light text-gray-900">
26-
로그인 시 기억하고 싶은 친구의 MBTI와 특징을 입력해서 빠르게 대화할 수
27-
있어요
26+
로그인 시 기억하고 싶은 친구의 MBTI와 특징을
27+
<br />
28+
입력해서 빠르게 대화할 수 있어요
2829
</p>
2930
</div>
3031
);

src/index.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ body {
3030

3131
main {
3232
@media screen and (min-width: 360px) {
33+
font-size: 14px;
3334
width: 360px;
3435
}
3536
@media screen and (min-width: 375px) {
37+
font-size: 16px;
3638
width: 375px;
3739
}
3840
@media screen and (min-width: 500px) {
41+
font-size: 16px;
3942
width: 500px;
4043
}
4144
}

0 commit comments

Comments
 (0)