aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/_main.scss8
-rw-r--r--layouts/partials/docs/menu-filetree.html1
2 files changed, 8 insertions, 1 deletions
diff --git a/assets/_main.scss b/assets/_main.scss
index 6c044cb..883fbda 100644
--- a/assets/_main.scss
+++ b/assets/_main.scss
@@ -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 {
diff --git a/layouts/partials/docs/menu-filetree.html b/layouts/partials/docs/menu-filetree.html
index 3ca9db2..a4835b2 100644
--- a/layouts/partials/docs/menu-filetree.html
+++ b/layouts/partials/docs/menu-filetree.html
@@ -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 }}">