summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2020-12-04 17:21:34 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2020-12-04 17:21:34 +0800
commitd29ad66f0200a5b39c3e907b78d0760f7fb77d60 (patch)
tree54ef4ef20389b51487bb8104568f1bd6cc92b218
parent91d58a431b8b15b432adf0180763f29e9c826104 (diff)
fix: post content and tags overflow issue
-rw-r--r--_sass/yat/_layout.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss
index a34bdbe..75a77e4 100644
--- a/_sass/yat/_layout.scss
+++ b/_sass/yat/_layout.scss
@@ -228,10 +228,10 @@ html {
}
.post-tags {
- display: inline-block;
padding-right: 150px;
.post-tag {
+ display: inline-block;
margin: 0 12px 0 0;
}
}
@@ -389,6 +389,7 @@ html {
.post-content {
margin-bottom: $spacing-unit;
+ overflow-x: auto;
overflow-wrap: normal;
word-wrap: normal;
word-break: normal;