From 555c041f9b7819d7ac8f0277041c31ff959f227c Mon Sep 17 00:00:00 2001 From: perlatus Date: Thu, 4 Feb 2021 02:48:23 -0500 Subject: [PATCH 1/2] Use flex on tags so they wrap properly --- assets/css/blog/post.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/css/blog/post.css b/assets/css/blog/post.css index e5bcbcb..d5b87c7 100644 --- a/assets/css/blog/post.css +++ b/assets/css/blog/post.css @@ -75,6 +75,8 @@ .post-tags { margin-top: 15px; + display: flex; + flex-wrap: wrap; } .post-tags .tag { From a3fea053e542d94061e461008f7e1ace3fdded6d Mon Sep 17 00:00:00 2001 From: perlatus Date: Tue, 9 Feb 2021 17:06:37 -0500 Subject: [PATCH 2/2] Fix margin for when tags overflow first row --- assets/css/blog/post.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/assets/css/blog/post.css b/assets/css/blog/post.css index d5b87c7..ef8a479 100644 --- a/assets/css/blog/post.css +++ b/assets/css/blog/post.css @@ -81,10 +81,7 @@ .post-tags .tag { font-weight: 700; -} - -.post-tags .tag + .tag { - margin-left: 10px; + margin-right: 10px; } .post-tags .tag::before {