[bugfix] Tabbar: info not work when use icon slot (#1705)

This commit is contained in:
neverland
2018-08-27 21:06:18 +08:00
committed by GitHub
parent fe3eb10bd3
commit 30b3fad696
16 changed files with 78 additions and 61 deletions
+7 -14
View File
@@ -41,19 +41,12 @@
}
&__info {
position: absolute;
top: 2px;
right: 2px;
color: $white;
font-size: 10px;
font-weight: normal;
transform: scale(0.8);
text-align: center;
box-sizing: border-box;
padding: 0 6px;
min-width: 18px;
line-height: 18px;
border-radius: 9px;
background-color: $red;
left: auto;
top: 4px;
right: 4px;
font-size: 12px;
min-width: 1.5em;
line-height: 1.5em;
transform: scale(0.7);
}
}