mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
fixes #9508: use navbar align mixin for buttons to get correct top/bottom spacing
This commit is contained in:
Vendored
+1
@@ -3480,6 +3480,7 @@ button.close {
|
|||||||
|
|
||||||
.navbar-btn {
|
.navbar-btn {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-text {
|
.navbar-text {
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -378,7 +378,7 @@
|
|||||||
// Vertically center a button within a navbar (when *not* in a form).
|
// Vertically center a button within a navbar (when *not* in a form).
|
||||||
|
|
||||||
.navbar-btn {
|
.navbar-btn {
|
||||||
margin-top: ((@navbar-height - @input-height-base) / 2);
|
.navbar-vertical-align(@input-height-base);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user