0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Show the other navbar items on small screens too.

This commit is contained in:
XhmikosR 2019-03-21 19:21:03 +02:00
parent 0ed44cab2d
commit 312f54fa66

View File

@ -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>