From b998bec84fce7f4c45504a1ee309e3d6333df082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 3 Oct 2023 20:27:09 +0200 Subject: [PATCH] taxonomy: fix output for `hugo --minify` #671 --- static/css/tags.css | 4 ++-- static/css/theme.css | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/static/css/tags.css b/static/css/tags.css index 5eba2aa6c9..e09eacd11f 100644 --- a/static/css/tags.css +++ b/static/css/tags.css @@ -5,8 +5,8 @@ margin-top: 1rem; } -.tags.term-list li ~ li:before { - content: none +.tags.term-list ul > li ~ li:before { + content: " " } #R-body .tags a.term-link { diff --git a/static/css/theme.css b/static/css/theme.css index ca34e85281..7bbe69cea5 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -2196,6 +2196,9 @@ html[dir="rtl"] #R-sidebar ul.collapsible-menu > li > label > i.fa-chevron-right display: inline; padding: 0; } -.term-list li ~ li:before { +.term-list i ~ ul > li:before{ + content: " " +} +.term-list ul > li ~ li:before { content: " | " }