Skip to content

Commit

Permalink
Close #25697
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mdo committed Apr 1, 2018
1 parent 12708d3 commit 9f5f51d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/4.0/components/navbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 9f5f51d

Please sign in to comment.