diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 654da5b89..d6a249ee6 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -4308,7 +4308,6 @@ input[type="submit"].btn.btn-mini { .navbar-static-top { position: static; - width: 100%; margin-bottom: 0; } diff --git a/less/navbar.less b/less/navbar.less index 25651b14a..33c90694e 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -152,7 +152,6 @@ .navbar-static-top { position: static; - width: 100%; margin-bottom: 0; // remove 18px margin for default navbar .navbar-inner { .border-radius(0); diff --git a/less/tests/navbar-fixed-top.html b/less/tests/navbar-fixed-top.html new file mode 100644 index 000000000..d454b65f8 --- /dev/null +++ b/less/tests/navbar-fixed-top.html @@ -0,0 +1,92 @@ + + +
+ +This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.
+ +This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.
+ +