Add leading-relaxed to tag list

pull/444/head
David Rothera 2023-01-16 22:35:51 +00:00
parent dfaa87222a
commit 36215c47b0
No known key found for this signature in database
GPG Key ID: 002DE615194D174C
2 changed files with 5 additions and 1 deletions

View File

@ -2350,6 +2350,10 @@ body:has(#menu-controller:checked) {
line-height: 1.75rem; line-height: 1.75rem;
} }
.leading-relaxed {
line-height: 1.625;
}
.leading-6 { .leading-6 {
line-height: 1.5rem; line-height: 1.5rem;
} }

View File

@ -49,7 +49,7 @@
(and (ne $scope "single") (.Params.showTaxonomies | default (.Site.Params.list.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false)))) (and (ne $scope "single") (.Params.showTaxonomies | default (.Site.Params.list.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false))))
(and (eq $scope "single") (.Params.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false))) (and (eq $scope "single") (.Params.showTaxonomies | default (.Site.Params.article.showTaxonomies | default false)))
}} }}
<div class="my-1 text-xs text-neutral-500 dark:text-neutral-400 "> <div class="my-1 text-xs leading-relaxed text-neutral-500 dark:text-neutral-400 ">
{{ range $taxonomy, $terms := .Site.Taxonomies }} {{ range $taxonomy, $terms := .Site.Taxonomies }}
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }} {{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
{{ range $context.GetTerms $taxonomy }} {{ range $context.GetTerms $taxonomy }}