mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
fixes #3900: nudge badges in buttons up 1px
This commit is contained in:
@@ -55,3 +55,12 @@ a {
|
||||
&-inverse { background-color: @grayDark; }
|
||||
&-inverse[href] { background-color: darken(@grayDark, 10%); }
|
||||
}
|
||||
|
||||
// Quick fix for labels/badges in buttons
|
||||
.btn {
|
||||
.label,
|
||||
.badge {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1011,7 +1011,8 @@
|
||||
</form>
|
||||
</div><!--/span-->
|
||||
<div class="span4">
|
||||
|
||||
<button class="btn">Action <span class="badge">2</span></button>
|
||||
<button class="btn">Action <span class="label">2</span></button>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user