summaryrefslogtreecommitdiff
path: root/_sass/yat
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2020-09-14 19:57:06 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2020-09-14 19:57:06 +0800
commitc8e68b4de52023ed399b76bdce1586e1edb8a793 (patch)
tree452ae8000caa37e1cca5110e61032d82ded36a1b /_sass/yat
parent9248957f7802687ba6c1f03d8af4b85e9c11c73b (diff)
fix: wrong word-break in post content
Diffstat (limited to '_sass/yat')
-rw-r--r--_sass/yat/_layout.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss
index 65054ad..579b01b 100644
--- a/_sass/yat/_layout.scss
+++ b/_sass/yat/_layout.scss
@@ -392,6 +392,9 @@ html {
.post-content {
margin-bottom: $spacing-unit;
+ overflow-wrap: break-word;
+ word-wrap: break-word;
+ word-break: break-all;
h2 {
@include relative-font-size(2);