]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Backport #28551.
authorXhmikosR <xhmikosr@gmail.com>
Tue, 30 Apr 2019 11:30:02 +0000 (14:30 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 2 May 2019 13:59:49 +0000 (16:59 +0300)
Show the other navbar items on small screens too.

site/_includes/docs-navbar.html

index a211a0ee032fe469a4813eb98259f21678d6db5c..53460450d5fede85d26facfb677a73c29de476d5 100644 (file)
     </ul>
   </div>
 
-  <ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
+  <ul class="navbar-nav ml-md-auto">
     <li class="nav-item dropdown">
       <a class="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
         v{{ site.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="{{ site.baseurl }}/docs/{{ site.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>