Skip to content

Commit 45dc5eb

Browse files
committed
hotfix: 배너 폰트 줄바꿈 방지
1 parent abc285c commit 45dc5eb

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/pages/Home/components/StudyTimerBanner.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ function StudyTimerBanner() {
1212
}}
1313
>
1414
<div className="relative z-10 max-w-36.25 text-[#324839]">
15-
<h2 className="text-[18px] leading-[1.6] font-extrabold tracking-[-0.18px] whitespace-pre-line">
16-
Konect와 공부하고{'\n'}핫식스 받자!
15+
<h2 className="text-[18px] leading-[1.6] font-extrabold tracking-[-0.18px] break-keep">
16+
<span className="block whitespace-nowrap">Konect와 공부하고</span>
17+
<span className="block whitespace-nowrap">핫식스 받자!</span>
1718
</h2>
18-
<p className="mt-0.75 text-[10px] leading-[1.6] font-medium whitespace-pre-line">
19+
<p className="mt-0.75 text-[10px] leading-[1.6] font-medium break-keep whitespace-pre-line">
1920
커넥트의 타이머 기능을{'\n'}사용해보세요!
2021
</p>
2122
</div>

0 commit comments

Comments
 (0)