]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix for stray 1px line under top navigation 12897/head
authoravindra <aavindraa@gmail.com>
Sun, 2 Mar 2014 21:19:44 +0000 (16:19 -0500)
committeravindra <aavindraa@gmail.com>
Sun, 2 Mar 2014 21:19:44 +0000 (16:19 -0500)
If you add an "active" class to one of the <li> elements in the top navigation, and style it so that active tabs have a different color, it becomes clear that there is a 1 pixel stray line under the navigation. This style fixes that.

docs/examples/dashboard/dashboard.css

index ef6c0cfdb3f8f29bacda508cf638e96ed4d7ed98..22e3fdef601d459503d4ba97b7c0dba8be55f43b 100644 (file)
@@ -17,6 +17,13 @@ body {
   border-bottom: 1px solid #eee;
 }
 
+/*
+ * Top navigation
+ * Hide default border to remove 1px line.
+ */
+.navbar-fixed-top {
+  border:0;
+}
 
 /*
  * Sidebar