diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index b658de19a7..9a6bb867d4 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -4138,6 +4138,18 @@ input[type="submit"].btn.btn-mini { border-radius: 15px; } +.navbar-static-top { + position: static; + width: 100%; + margin-bottom: 0; +} + +.navbar-static-top .navbar-inner { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + .navbar-fixed-top, .navbar-fixed-bottom { position: fixed; diff --git a/docs/components.html b/docs/components.html index 0b2ba25c7b..f3803201aa 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1162,7 +1162,7 @@
Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, .navbar
.
Create a full-width navbar that scrolls away with the page by adding .navbar-static-top
. Unlike the .navbar-fixed-top
class, you do not need to change any padding on the body
.
+<div class="navbar navbar-static-top"> + ... +</div> ++
{{_i}}Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, .navbar
.{{/i}}
{{_i}}Create a full-width navbar that scrolls away with the page by adding .navbar-static-top
. Unlike the .navbar-fixed-top
class, you do not need to change any padding on the body
.{{/i}}
+<div class="navbar navbar-static-top"> + ... +</div> ++