Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2018-04-01 00:59:03 +0300
committerMark Otto <markd.otto@gmail.com>2018-04-01 08:02:02 +0300
commit9f5f51d871005ff940a62ee935fb8bf20af0befd (patch)
treeb6d22b86cd7c77773776eb85eddc2eab20ac463d /docs
parent12708d329a4c198a88ed30f99d5bb7d7f7501876 (diff)
Close #25697
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/navbar.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/components/navbar.md b/docs/4.0/components/navbar.md
index 3e3d1f2773..7cb1d90251 100644
--- a/docs/4.0/components/navbar.md
+++ b/docs/4.0/components/navbar.md
@@ -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">