feat(TabbarItem): optimize dot prop (#4431)

This commit is contained in:
neverland
2019-09-11 17:22:17 +08:00
committed by GitHub
parent 9e085c4c04
commit 80f6b04b9a
3 changed files with 4 additions and 17 deletions
-13
View File
@@ -20,19 +20,6 @@
min-width: 1em;
}
&--dot {
&::after {
position: absolute;
top: 0;
right: -8px;
width: 8px;
height: 8px;
background-color: @red;
border-radius: 100%;
content: ' ';
}
}
img {
display: block;
height: @tabbar-item-icon-size;