Remove white border from badges, decrease overlap

This commit is contained in:
Toby Zerner 2016-03-11 12:01:47 +10:30
parent 66398d423e
commit c95dbc0cb4
3 changed files with 3 additions and 4 deletions

View File

@ -32,7 +32,7 @@
pointer-events: none;
.Badge {
margin-left: -15px;
margin-left: -10px;
position: relative;
pointer-events: auto;
}

View File

@ -81,7 +81,7 @@
pointer-events: none;
.Badge {
margin-left: -15px;
margin-left: -10px;
position: relative;
pointer-events: auto;
}

View File

@ -1,6 +1,5 @@
.Badge {
.Badge--size(22px);
border: 1px solid @body-bg;
background: @muted-color;
color: #fff;
display: inline-block;
@ -17,7 +16,7 @@
width: @size;
height: @size;
border-radius: @size / 2;
line-height: @size - 3px;
line-height: @size - 1px;
&, .Badge-icon {
font-size: 0.56 * @size;