collapsed menu right arrow, uncollapsed down arrow (#332)

This commit is contained in:
Pim Snel 2021-05-03 21:18:49 +02:00 committed by GitHub
parent 51140a8026
commit e0823c2138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -125,6 +125,14 @@ ul.pagination {
input.toggle:checked + label + ul {
display: block;
}
input.toggle + label::after {
content: "";
}
input.toggle:checked + label::after {
content: "";
}
}
.book-section-flat {

View File

@ -34,7 +34,6 @@
<a {{ if .Page.Content }}href="{{ .Page.Permalink }}"{{ end }} class="{{ if $current }}active{{ end }}">
{{- partial "docs/title" .Page -}}
</a>
<span></span>
</label>
{{ else if .Page.Content }}
<a href="{{ .Page.Permalink }}" class="{{ if $current }} active{{ end }}">