Correction des tags sur plusieurs colonnes

This commit is contained in:
Stanislas Jouffroy 2025-03-25 23:37:24 +01:00
parent 9d5b3e18c4
commit 51eba12355
4 changed files with 18 additions and 12 deletions

View file

@ -1,10 +1,10 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
<div class="taxonomy">
<ul>
<div>
<ul class="taxonomy-list">
{{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
<li class="taxonomy-item"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{ end }}
</ul>
</div>

View file

@ -262,10 +262,13 @@ figure > figcaption h4 {
}
.taxonomy {
-webkit-column-width: 200px;
-moz-column-width: 200px;
column-width: 200px;
.taxonomy-list {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(150px, 1fr));
}
.taxonomy-item {
width: 80%;
}
.ais-SearchBox {

View file

@ -985,10 +985,13 @@ figure > figcaption h4 {
margin-left: 10rem;
}
.taxonomy {
-webkit-column-width: 150px;
-moz-column-width: 150px;
column-width: 150px;
.taxonomy-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.taxonomy-item {
width: 80%;
}
.ais-SearchBox .ais-SearchBox-input {

File diff suppressed because one or more lines are too long