summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-07-25 21:34:58 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-07-25 21:34:58 +0800
commitad541c4306e2ca8691e5b04a11d421435af703a8 (patch)
tree3561cfc63b8db0b3b8dba167cb1ba47700e4cd94
parent149c641d21850f1adeba27513895893089f80c89 (diff)
fix: overflow and wrap of post tags in pagination
-rw-r--r--_sass/yat/_layout.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss
index 7ff5cdd..d5bb9bb 100644
--- a/_sass/yat/_layout.scss
+++ b/_sass/yat/_layout.scss
@@ -324,14 +324,16 @@ html {
}
.post-tags .post-tag {
+ display: inline-block;
text-decoration: none;
border: 1px solid;
padding: 2px 4px;
border-radius: 2px;
transition: color 0.2s;
+ margin-bottom: 8px;
- &:not(:first-child) {
- margin-left: 8px;
+ &:not(:last-child) {
+ margin-right: 8px;
}
&:hover {