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:
parent
33160d5043
commit
d417fcecea
10
dist/css/bootstrap.css
vendored
10
dist/css/bootstrap.css
vendored
@ -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;
|
||||
|
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
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user