Commit a9bf1e6e authored by Mark Otto's avatar Mark Otto

fixes #3900: nudge badges in buttons up 1px

parent b2ebd5c4
......@@ -5128,6 +5128,12 @@ a.badge:hover {
background-color: #1a1a1a;
}
.btn .label,
.btn .badge {
position: relative;
top: -1px;
}
@-webkit-keyframes progress-bar-stripes {
from {
background-position: 40px 0;
......
......@@ -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-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment