Skip to content

Commit

Permalink
better/more form spacing in navbars
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Dec 23, 2016
1 parent 8ee7b91 commit 7ee586b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/components/navbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Here's an example of all the sub-components included in a responsive light-theme
<a class="nav-link disabled" href="#">Disabled</a>
</li>
</ul>
<form class="form-inline mt-2 mt-md-0">
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
Expand Down Expand Up @@ -449,7 +449,7 @@ With no `.navbar-brand` shown in lowest breakpoint:
<a class="nav-link disabled" href="#">Disabled</a>
</li>
</ul>
<form class="form-inline mt-2 mt-md-0">
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
Expand Down Expand Up @@ -478,7 +478,7 @@ With a brand name shown on the left and toggler on the right:
<a class="nav-link disabled" href="#">Disabled</a>
</li>
</ul>
<form class="form-inline mt-2 mt-md-0">
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/navbars/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</div>
</li>
</ul>
<form class="form-inline mt-2 mt-md-0">
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
Expand Down Expand Up @@ -80,7 +80,7 @@
</div>
</li>
</ul>
<form class="form-inline mt-2 mt-md-0">
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
Expand Down Expand Up @@ -143,7 +143,7 @@
</div>
</li>
</ul>
<form class="form-inline mt-2 mt-md-0">
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
Expand Down

0 comments on commit 7ee586b

Please sign in to comment.