diff options
Diffstat (limited to '')
| -rw-r--r-- | themes/hugo-book/layouts/_partials/docs/menu-filetree.html (renamed from themes/hugo-book/layouts/partials/docs/menu-filetree.html) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/hugo-book/layouts/partials/docs/menu-filetree.html b/themes/hugo-book/layouts/_partials/docs/menu-filetree.html index 1494588..5105aa8 100644 --- a/themes/hugo-book/layouts/partials/docs/menu-filetree.html +++ b/themes/hugo-book/layouts/_partials/docs/menu-filetree.html @@ -30,8 +30,8 @@ {{ if .Page.Params.BookCollapseSection }} <input type="checkbox" id="section-{{ md5 .Page }}" class="toggle" {{ if or $current $ancestor }}checked{{ end }} /> - <label for="section-{{ md5 .Page }}" class="flex justify-between"> - <a {{ if .Page.Content }}href="{{ .Page.RelPermalink }}"{{ else }}role="button"{{ end }} class="{{ if $current }}active{{ end }}"> + <label for="section-{{ md5 .Page }}" class="flex"> + <a {{ if .Page.Content }}href="{{ .Page.RelPermalink }}"{{ else }}role="button"{{ end }} class="flex-auto {{ if $current }}active{{ end }}"> {{- partial "docs/title" .Page -}} </a> </label> |
