aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshawn.ye <sunsetye@me.com>2022-01-13 23:52:03 +0800
committerGitHub <noreply@github.com>2022-01-13 16:52:03 +0100
commitfb0863a27a28dfeb01db0f4f5ee6bfbaf3b67020 (patch)
tree4fe350d54183c8186e061831b8bb758b462787b0
parent2f60f0919f80a8ad745ef47953f638392af6d37f (diff)
Prevent breaked-lines in <p> (#404)
-rw-r--r--assets/_markdown.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss
index 0e9fae0..af9b86d 100644
--- a/assets/_markdown.scss
+++ b/assets/_markdown.scss
@@ -87,6 +87,10 @@
}
}
+ p {
+ word-wrap:break-word;
+ }
+
blockquote {
margin: $padding-16 0;
padding: $padding-8 $padding-16 $padding-8 ($padding-16 - $padding-4); //to keep total left space 16dp