Skip to content

Commit ba49f84

Browse files
committed
🎨 fix word-break to break normally and on hyphen
1 parent ba27e06 commit ba49f84

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/open_inwoner/scss/components/Actions/Actions.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858

5959
.actions__label {
6060
padding: var(--spacing-medium);
61-
word-break: break-all;
61+
word-break: normal;
62+
overflow-wrap: break-word;
6263

6364
&--big {
6465
grid-column: 1 / span 2;

src/open_inwoner/scss/components/Typography/H1.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
justify-content: space-between;
1212

1313
@include mobile-only {
14-
word-break: break-all;
14+
word-break: normal;
15+
overflow-wrap: break-word;
1516
}
1617

1718
&:first-of-type {

src/open_inwoner/scss/components/Typography/H2.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
}
1616

1717
@include mobile-only {
18-
word-break: break-all;
18+
word-break: normal;
19+
overflow-wrap: break-word;
1920
}
2021
}
2122

0 commit comments

Comments
 (0)