Commit 5bd2d7ed authored by Mark Otto's avatar Mark Otto

fixes #9815: proper alignment of navbar nav if first child

parent 87a1d7e5
...@@ -4050,6 +4050,9 @@ textarea.input-group-sm > .input-group-btn > .btn { ...@@ -4050,6 +4050,9 @@ textarea.input-group-sm > .input-group-btn > .btn {
.navbar-collapse.in { .navbar-collapse.in {
overflow-y: visible; overflow-y: visible;
} }
.navbar-collapse .navbar-nav.navbar-left:first-child {
margin-left: -15px;
}
.navbar-collapse .navbar-nav.navbar-right:last-child { .navbar-collapse .navbar-nav.navbar-right:last-child {
margin-right: -15px; margin-right: -15px;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -77,6 +77,10 @@ ...@@ -77,6 +77,10 @@
overflow-y: visible; overflow-y: visible;
} }
// Account for first and last children spacing
.navbar-nav.navbar-left:first-child {
margin-left: -@navbar-padding-horizontal;
}
.navbar-nav.navbar-right:last-child { .navbar-nav.navbar-right:last-child {
margin-right: -@navbar-padding-horizontal; margin-right: -@navbar-padding-horizontal;
} }
......
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