[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
-17
View File
@@ -14,23 +14,6 @@
font-size: inherit;
text-rendering: auto;
&__info {
color: #fff;
left: 100%;
top: -.5em;
font-size: .5em;
padding: 0 .3em;
text-align: center;
min-width: 1.2em;
line-height: 1.2;
position: absolute;
border-radius: .6em;
box-sizing: border-box;
background-color: $red;
transform: translateX(-50%);
font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;
}
&::before {
display: inline-block;
}