0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01: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;
}
}
}