]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #17230: Renames .navbar-static-top to .navbar-full and adds docs for it
authorMark Otto <markdotto@gmail.com>
Sun, 6 Sep 2015 03:58:28 +0000 (20:58 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 6 Sep 2015 03:58:28 +0000 (20:58 -0700)
docs/components/navbar.md
scss/_navbar.scss

index 0c8be6fffe9f076160bafcf478b304b6a84bd085..4991c6d50fa6342c489c0983aa1325d5e62342e4 100644 (file)
@@ -163,7 +163,13 @@ Although it's not required, you can wrap a navbar in a `.container` to center it
 
 ## Placement
 
-Navbars can be statically placed (their default behavior), or fixed to the top or bottom of the viewport.
+Navbars can be statically placed (their default behavior), static without rounded corners, or fixed to the top or bottom of the viewport.
+
+{% example html %}
+<nav class="navbar navbar-full navbar-light bg-faded">
+  <a class="navbar-brand" href="#">Full width</a>
+</nav>
+{% endexample %}
 
 {% example html %}
 <nav class="navbar navbar-fixed-top navbar-light bg-faded">
index d812212a0c2aa72ac5a8e98d668fc98e5043ba9c..ffe133b9f06a363f99d7829ead88a2b594e371bd 100644 (file)
@@ -19,8 +19,8 @@
 // Display the navbar across the entirety of the page or fixed it to the top or
 // bottom of the page.
 
-// Static top (unfixed, but 100% wide) navbar
-.navbar-static-top {
+// A static, full width modifier with no rounded corners.
+.navbar-full {
   z-index: $zindex-navbar;
 
   @include media-breakpoint-up(sm) {