From 631a7ea12152ec7e97570d8de85ebc09ed87496d Mon Sep 17 00:00:00 2001 From: FarseaSH Date: Sat, 24 Feb 2024 18:40:17 +0800 Subject: [PATCH] IMPROVEMENT polish tag style --- assets/style-refractored.scss | 3 ++- layouts/partials/row.html | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/style-refractored.scss b/assets/style-refractored.scss index 9a1d87a..389f709 100644 --- a/assets/style-refractored.scss +++ b/assets/style-refractored.scss @@ -286,6 +286,7 @@ $gray: #919EB1; padding-left: 20px; padding-right: 15px; margin-right: 10px; + margin-bottom: 5px; border-radius: 15px; @@ -309,7 +310,7 @@ $gray: #919EB1; padding-right: 6px; border-radius: 12px; - margin-right: 2px; + margin-right: 6px; font-size: 110%; } diff --git a/layouts/partials/row.html b/layouts/partials/row.html index 8a8a088..bdc6fcd 100644 --- a/layouts/partials/row.html +++ b/layouts/partials/row.html @@ -53,7 +53,7 @@
{{/* tag */}} - {{ $tags_filtered := slice}} + {{ $tags_filtered := slice }} {{ with $page.Params.tags }} {{ range . }} {{ with .}} @@ -64,9 +64,7 @@ {{ with $tags_filtered }}
{{ range . }} -
- {{ . }} -
+
{{ trim . " " }}
{{ end }}
{{ end }}