Skip to content

Commit 1d1be75

Browse files
authored
Merge pull request #792 from lqez/language-specific-style
Move `word-break: keep-all` within Korean selector
2 parents 43cddd6 + 7562d25 commit 1d1be75

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

assets/css/custom.scss

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ blockquote {
2020
}
2121
}
2222

23-
.lead,
24-
.alt-lead {
25-
word-break: keep-all;
26-
}
27-
2823
.pquote {
2924
border: $border;
3025
padding: $spacer-3;
@@ -177,7 +172,6 @@ blockquote {
177172
font-size: 21px;
178173
font-weight: $font-weight-light;
179174
color: $gray;
180-
word-break: keep-all;
181175
@include breakpoint(md) { font-size: 24px; }
182176
@include breakpoint(lg) { font-size: 26px; }
183177

@@ -240,3 +234,11 @@ blockquote {
240234
.little-illo {
241235
max-height: 50px;
242236
}
237+
238+
*:lang(ko) {
239+
.lead,
240+
.alt-lead,
241+
h2 + p {
242+
word-break: keep-all;
243+
}
244+
}

0 commit comments

Comments
 (0)