Commit c13772d5 authored by Mark Otto's avatar Mark Otto

switch to margin on navbar-nav to avoid stacking negative space reported in #9705

parent 4d369921
......@@ -3355,10 +3355,7 @@ button.close {
}
.navbar-nav {
padding-top: 7.5px;
padding-bottom: 7.5px;
margin-right: -15px;
margin-left: -15px;
margin: 7.5px -15px;
}
.navbar-nav > li > a {
......@@ -3429,8 +3426,6 @@ button.close {
@media (min-width: 768px) {
.navbar-nav {
float: left;
padding-top: 0;
padding-bottom: 0;
margin: 0;
}
.navbar-nav > li {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -187,10 +187,7 @@
// the nav the full height of the horizontal nav (above 768px).
.navbar-nav {
padding-top: (@navbar-padding-vertical / 2);
padding-bottom: (@navbar-padding-vertical / 2);
margin-left: -@navbar-padding-horizontal;
margin-right: -@navbar-padding-horizontal;
margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;
> li > a {
padding-top: 10px;
......@@ -267,8 +264,6 @@
@media (min-width: @grid-float-breakpoint) {
float: left;
margin: 0;
padding-top: 0;
padding-bottom: 0;
> li {
float: left;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment