mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Fixes #11357: Vertically center sm and xs buttons in the navbar
This commit is contained in:
Vendored
+10
@@ -4671,6 +4671,16 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
|||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar-btn.btn-sm {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-btn.btn-xs {
|
||||||
|
margin-top: 14px;
|
||||||
|
margin-bottom: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-text {
|
.navbar-text {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -333,6 +333,13 @@
|
|||||||
|
|
||||||
.navbar-btn {
|
.navbar-btn {
|
||||||
.navbar-vertical-align(@input-height-base);
|
.navbar-vertical-align(@input-height-base);
|
||||||
|
|
||||||
|
&.btn-sm {
|
||||||
|
.navbar-vertical-align(@input-height-small);
|
||||||
|
}
|
||||||
|
&.btn-xs {
|
||||||
|
.navbar-vertical-align(22);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user