[improvement] Rate: add less vars (#3135)

This commit is contained in:
neverland
2019-04-11 17:44:41 +08:00
committed by GitHub
parent 9ecbcae725
commit 3645999b3c
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
&__item {
display: inline-block;
position: relative;
padding: 0 2px;
padding: 0 @rate-horizontal-padding;
}
&__icon {
@@ -15,7 +15,7 @@
&--half {
position: absolute;
top: 0;
left: 2px;
left: @rate-horizontal-padding;
width: .5em;;
overflow: hidden;
}