[improvement] Badge: update style (#1907)

This commit is contained in:
neverland
2018-10-09 17:39:29 +08:00
committed by GitHub
parent e68ea547b9
commit 8afb40e9af
10 changed files with 18 additions and 19 deletions

View File

@@ -41,12 +41,10 @@
}
&__info {
top: 7px;
left: auto;
top: 4px;
right: 4px;
right: 5px;
font-size: 12px;
min-width: 1.5em;
line-height: 1.5em;
transform: scale(0.7);
transform: scale(0.9);
}
}

View File

@@ -4,13 +4,14 @@
color: #fff;
left: 100%;
top: -.5em;
font-size: .5em;
padding: 0 .3em;
font-size: .6em;
font-weight: 500;
padding: 0 .25em;
text-align: center;
min-width: 1.2em;
line-height: 1.2;
min-width: 1.4em;
line-height: 1.4;
position: absolute;
border-radius: .6em;
border-radius: .7em;
box-sizing: border-box;
background-color: $red;
transform: translateX(-50%);