mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-29 14:59:16 +02:00
icon vertical align in buttons
This commit is contained in:
@@ -72,10 +72,6 @@
|
||||
font-size: @fontSizeLarge;
|
||||
.border-radius(@borderRadiusLarge);
|
||||
}
|
||||
.btn-large [class^="icon-"],
|
||||
.btn-large [class*=" icon-"] {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
// Small
|
||||
.btn-small {
|
||||
@@ -83,10 +79,6 @@
|
||||
font-size: @fontSizeSmall;
|
||||
.border-radius(@borderRadiusSmall);
|
||||
}
|
||||
.btn-small [class^="icon-"],
|
||||
.btn-small [class*=" icon-"] {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
// Mini
|
||||
.btn-mini {
|
||||
@@ -96,6 +88,14 @@
|
||||
}
|
||||
|
||||
|
||||
// Icons in buttons
|
||||
// -------------------------
|
||||
|
||||
.btn [class^="icon-"]:before { vertical-align: -2px; }
|
||||
.btn-small [class^="icon-"]:before,
|
||||
.btn-mini [class^="icon-"]:before { vertical-align: -1px; }
|
||||
|
||||
|
||||
// Block button
|
||||
// -------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user