Skip to content

Commit 1e7761f

Browse files
authored
fix(theme-default): fix word breaking (close #1209) (#1210)
1 parent bba63ea commit 1e7761f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ecosystem/theme-default/src/client/styles/normalize.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ blockquote {
6262
border-left: 0.2rem solid var(--c-border-dark);
6363
margin: 1rem 0;
6464
padding: 0.25rem 0 0.25rem 1rem;
65+
overflow-wrap: break-word;
6566

6667
& > p {
6768
margin: 0;
@@ -85,6 +86,7 @@ h5,
8586
h6 {
8687
font-weight: 600;
8788
line-height: 1.25;
89+
overflow-wrap: break-word;
8890

8991
&:focus-visible {
9092
outline: none;
@@ -160,6 +162,7 @@ p,
160162
ul,
161163
ol {
162164
line-height: 1.7;
165+
overflow-wrap: break-word;
163166
}
164167

165168
hr {

0 commit comments

Comments
 (0)