aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-03-31 14:59:03 -0700
committerMark Otto <[email protected]>2018-03-31 22:02:02 -0700
commit9f5f51d871005ff940a62ee935fb8bf20af0befd (patch)
treeb6d22b86cd7c77773776eb85eddc2eab20ac463d /docs/4.0/components
parent12708d329a4c198a88ed30f99d5bb7d7f7501876 (diff)
downloadbootstrap-9f5f51d871005ff940a62ee935fb8bf20af0befd.tar.xz
bootstrap-9f5f51d871005ff940a62ee935fb8bf20af0befd.zip
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/4.0/components')
-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 3e3d1f277..7cb1d9025 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">