From ad541c4306e2ca8691e5b04a11d421435af703a8 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Sun, 25 Jul 2021 21:34:58 +0800 Subject: [PATCH] fix: overflow and wrap of post tags in pagination --- _sass/yat/_layout.scss | 6 ++++-- 1 file 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 {