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:
parent
776fb435c5
commit
9b66e6b0f4
3 changed files with 8 additions and 1 deletions
3
dist/css/bootstrap.css
vendored
3
dist/css/bootstrap.css
vendored
|
@ -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,
|
||||
|
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -77,6 +77,10 @@
|
|||
&.in {
|
||||
overflow-y: visible;
|
||||
}
|
||||
|
||||
.navbar-nav.navbar-right:last-child {
|
||||
margin-right: -@navbar-padding-horizontal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue