Skip to content

Commit

Permalink
Show the other navbar items on small screens too.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 24, 2019
1 parent d7ecff2 commit 75d7fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/layouts/partials/docs-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
</ul>
</div>

<ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
<ul class="navbar-nav ml-md-auto mt-3">
<li class="nav-item dropdown">
<a class="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-expanded="false">
v{{ .Site.Params.docs_version }}
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="bd-versions">
<div class="dropdown-menu dropdown-menu-md-right" aria-labelledby="bd-versions">
<a class="dropdown-item active" href="/docs/{{ .Site.Params.docs_version }}/">Latest (4.3.x)</a>
<a class="dropdown-item" href="https://getbootstrap.com/docs/4.2/">v4.2.1</a>
<a class="dropdown-item" href="https://getbootstrap.com/docs/4.0/">v4.0.0</a>
Expand Down

0 comments on commit 75d7fad

Please sign in to comment.