0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Fixes #11357: Vertically center sm and xs buttons in the navbar

This commit is contained in:
Mark Otto 2013-12-01 18:13:27 -08:00
parent 33160d5043
commit d417fcecea
3 changed files with 18 additions and 1 deletions

View File

@ -4671,6 +4671,16 @@ textarea.input-group-sm > .input-group-btn > .btn {
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 {
margin-top: 15px;
margin-bottom: 15px;

File diff suppressed because one or more lines are too long

View File

@ -333,6 +333,13 @@
.navbar-btn {
.navbar-vertical-align(@input-height-base);
&.btn-sm {
.navbar-vertical-align(@input-height-small);
}
&.btn-xs {
.navbar-vertical-align(22);
}
}