collapsed menu right arrow, uncollapsed down arrow (#332)
This commit is contained in:
parent
51140a8026
commit
e0823c2138
2 changed files with 8 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 }}">
|
||||
|
|
Loading…
Reference in a new issue