1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fixes #9790: nullify right padding in container-ed navbars when last element in collapse is a right aligned navbar nav

This commit is contained in:
Mark Otto 2013-08-18 11:17:28 -07:00
parent 776fb435c5
commit 9b66e6b0f4
3 changed files with 8 additions and 1 deletions

View file

@ -4047,6 +4047,9 @@ textarea.input-group-sm > .input-group-btn > .btn {
.navbar-collapse.in {
overflow-y: visible;
}
.navbar-collapse .navbar-nav.navbar-right:last-child {
margin-right: -15px;
}
}
.container > .navbar-header,

File diff suppressed because one or more lines are too long

View file

@ -77,6 +77,10 @@
&.in {
overflow-y: visible;
}
.navbar-nav.navbar-right:last-child {
margin-right: -@navbar-padding-horizontal;
}
}
}