diff options
author | Mark Otto <markdotto@gmail.com> | 2018-04-01 00:59:03 +0300 |
---|---|---|
committer | Mark Otto <markd.otto@gmail.com> | 2018-04-01 08:02:02 +0300 |
commit | 9f5f51d871005ff940a62ee935fb8bf20af0befd (patch) | |
tree | b6d22b86cd7c77773776eb85eddc2eab20ac463d /docs/4.0/components/navbar.md | |
parent | 12708d329a4c198a88ed30f99d5bb7d7f7501876 (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/4.0/components/navbar.md')
-rw-r--r-- | docs/4.0/components/navbar.md | 4 |
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"> |