[new feature] NoticeBar: add right-icon prop

This commit is contained in:
陈嘉涵
2019-04-30 14:59:51 +08:00
parent 152ee6a90d
commit dec1e4cee8
5 changed files with 36 additions and 26 deletions
+3 -11
View File
@@ -11,17 +11,14 @@
color: @orange-dark;
background-color: @orange-light;
&__left-icon {
&__left-icon,
&__right-icon {
font-size: 16px;
min-width: 22px;
}
&__right-icon {
top: 50%;
right: 15px;
font-size: 16px;
position: absolute;
margin-top: -0.5em;
text-align: right;
}
&__wrap {
@@ -63,11 +60,6 @@
}
}
}
&--withicon {
position: relative;
padding-right: 40px;
}
}
/**