]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Close #25697
authorMark Otto <markdotto@gmail.com>
Sat, 31 Mar 2018 21:59:03 +0000 (14:59 -0700)
committerMark Otto <markd.otto@gmail.com>
Sun, 1 Apr 2018 05:02:02 +0000 (22:02 -0700)
Removes the .justify-content-between from a navbar form example given it's the default style. Instead, mention how to adjust this and link to flex utils.

docs/4.0/components/navbar.md

index 3e3d1f2773db3c7ce3b61115fbcdc2017d8e029f..7cb1d902513426570aedcc453751dcd60743dd82 100644 (file)
@@ -214,10 +214,10 @@ Place various form controls and components within a navbar with `.form-inline`.
 {% endcapture %}
 {% include example.html content=example %}
 
-Align the contents of your inline forms with utilities as needed.
+Immediate children elements in `.navbar` use flex layout and will default to `justify-content: between`. Use additional [flex utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/flex/) as needed to adjust this behavior.
 
 {% capture example %}
-<nav class="navbar navbar-light bg-light justify-content-between">
+<nav class="navbar navbar-light bg-light">
   <a class="navbar-brand">Navbar</a>
   <form class="form-inline">
     <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">