Skip to content

Commit c41edb2

Browse files
committed
style: main 태그 반응형에 따라 기본 font-size 설정
1 parent a05f8c0 commit c41edb2

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ body {
3030

3131
main {
3232
@media screen and (min-width: 360px) {
33+
font-size: 14px;
3334
width: 360px;
34-
3535
}
3636
@media screen and (min-width: 375px) {
37+
font-size: 16px;
3738
width: 375px;
38-
3939
}
4040
@media screen and (min-width: 500px) {
41+
font-size: 16px;
4142
width: 500px;
4243
}
4344
}
@@ -55,7 +56,6 @@ button:hover {
5556
}
5657

5758
@keyframes pulse-custom {
58-
5959
0%,
6060
100% {
6161
transform: scale(1);
@@ -87,4 +87,4 @@ button:hover {
8787
* {
8888
@apply transition-transform duration-200 ease-in-out;
8989
}
90-
}
90+
}

0 commit comments

Comments
 (0)