diff options
| author | Mark Otto <[email protected]> | 2018-03-31 14:59:03 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-03-31 22:02:02 -0700 |
| commit | 9f5f51d871005ff940a62ee935fb8bf20af0befd (patch) | |
| tree | b6d22b86cd7c77773776eb85eddc2eab20ac463d /docs | |
| parent | 12708d329a4c198a88ed30f99d5bb7d7f7501876 (diff) | |
| download | bootstrap-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')
| -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 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"> |
