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

Make subnav and sidebar work on mobile too

This commit is contained in:
Mark Otto
2019-07-19 00:33:34 +03:00
committed by Mark Otto
parent 956cbbc6b7
commit 5a0be01e3e
5 changed files with 20 additions and 12 deletions

View File

@@ -21,7 +21,7 @@
</a>
{{- if $group.pages }}
<ul class="nav bd-sidenav mb-2">
<ul class="nav bd-sidenav flex-column mb-2">
{{- 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 }}>