Skip to content

Commit 0d7d56c

Browse files
authored
fix(base): wrap text content to avoid breaking layout (#480)
1 parent 8f2c8c8 commit 0d7d56c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/styles/base.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ h6 {
4242
font-weight: inherit;
4343
}
4444

45+
h1,
46+
h2,
47+
h3,
48+
h4,
49+
h5,
50+
h6,
51+
li,
52+
p {
53+
overflow-wrap: break-word;
54+
}
55+
4556
/**
4657
* Avoid 300ms click delay on touch devices that support the `touch-action`
4758
* CSS property.

0 commit comments

Comments
 (0)