1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

docs(sidenav): fix struggling CSS when collapsing sidenav

This commit is contained in:
Gaël Poupard
2020-02-18 13:48:06 +01:00
committed by XhmikosR
parent 5f58b3df2c
commit 79dc21b22b
2 changed files with 2 additions and 5 deletions

View File

@@ -22,7 +22,7 @@
</a>
{{- if $group.pages }}
<ul class="nav bd-sidenav flex-column mb-2 collapse{{ if $active_group }} show{{ end }}" id="{{ $group_slug }}-collapse">
<ul class="nav bd-sidenav mb-2 collapse{{ if $active_group }} show{{ end }}" id="{{ $group_slug }}-collapse">
{{- range $doc := $group.pages -}}
{{- $doc_slug := $doc.title | urlize }}
<li{{ if and $active_group (eq $page_slug $doc_slug) }} class="active bd-sidenav-active"{{ end }}>