2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03:00

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

This commit is contained in:
Mark Otto
2013-08-18 18:49:07 -07:00
parent 87a1d7e5a0
commit 5bd2d7ed7e
3 changed files with 8 additions and 1 deletions
+4
View File
@@ -77,6 +77,10 @@
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 {
margin-right: -@navbar-padding-horizontal;
}