0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

fix dropdowns in button groups after font-size hack

This commit is contained in:
Mark Otto 2012-06-25 20:57:04 -07:00
parent 244a9ab79d
commit b77ed4a3a3
2 changed files with 9 additions and 2 deletions

View File

@ -3119,12 +3119,16 @@ input[type="submit"].btn.btn-mini {
.btn-group > .btn { .btn-group > .btn {
position: relative; position: relative;
margin-left: -1px; margin-left: -1px;
font-size: 13px;
-webkit-border-radius: 0; -webkit-border-radius: 0;
-moz-border-radius: 0; -moz-border-radius: 0;
border-radius: 0; border-radius: 0;
} }
.btn-group > .btn,
.btn-group > .dropdown-menu {
font-size: 13px;
}
.btn-group > .btn-mini, .btn-group > .btn-mini,
.btn-group > .btn-small { .btn-group > .btn-small {
font-size: 11px; font-size: 11px;

View File

@ -29,9 +29,12 @@
.btn-group > .btn { .btn-group > .btn {
position: relative; position: relative;
margin-left: -1px; margin-left: -1px;
font-size: @baseFontSize; // redeclare as part 2 of font-size inline-block hack
.border-radius(0); .border-radius(0);
} }
.btn-group > .btn,
.btn-group > .dropdown-menu {
font-size: @baseFontSize; // redeclare as part 2 of font-size inline-block hack
}
// Reset fonts for other sizes // Reset fonts for other sizes
.btn-group > .btn-mini, .btn-group > .btn-mini,