diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2021-07-25 21:34:58 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2021-07-25 21:34:58 +0800 |
commit | ad541c4306e2ca8691e5b04a11d421435af703a8 (patch) | |
tree | 3561cfc63b8db0b3b8dba167cb1ba47700e4cd94 /_sass/yat | |
parent | 149c641d21850f1adeba27513895893089f80c89 (diff) |
fix: overflow and wrap of post tags in pagination
Diffstat (limited to '_sass/yat')
-rw-r--r-- | _sass/yat/_layout.scss | 6 |
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 { |