mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fixes #9508: use navbar align mixin for buttons to get correct top/bottom spacing
This commit is contained in:
parent
c5ca743cb7
commit
0456e5e4b3
3 changed files with 3 additions and 2 deletions
1
dist/css/bootstrap.css
vendored
1
dist/css/bootstrap.css
vendored
|
@ -3480,6 +3480,7 @@ button.close {
|
|||
|
||||
.navbar-btn {
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.navbar-text {
|
||||
|
|
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
|
@ -378,7 +378,7 @@
|
|||
// Vertically center a button within a navbar (when *not* in a form).
|
||||
|
||||
.navbar-btn {
|
||||
margin-top: ((@navbar-height - @input-height-base) / 2);
|
||||
.navbar-vertical-align(@input-height-base);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue