Skip to content

Commit 452631b

Browse files
tyangeclaude
andcommitted
style: 한국어 줄바꿈 word-break keep-all 적용
CJK가 글자 단위로 아무 데서나 끊기던 문제 수정. 어절(공백 단위)을 유지하고, 긴 토큰만 overflow-wrap으로 예외 줄바꿈. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c192df5 commit 452631b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/globals.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ body {
2828
font-family: var(--font-pretendard), sans-serif;
2929
text-rendering: optimizeLegibility;
3030
-webkit-font-smoothing: antialiased;
31+
/* 한국어 줄바꿈: 어절(공백 단위)을 유지해 단어 중간이 끊기지 않게 한다.
32+
긴 URL 등 끊을 수 없는 토큰만 예외적으로 줄바꿈(overflow-wrap). */
33+
word-break: keep-all;
34+
overflow-wrap: break-word;
3135
}
3236

3337
a {

0 commit comments

Comments
 (0)