diff --git a/style/mobile/components/rate/v2/_index.less b/style/mobile/components/rate/v2/_index.less index 3c1fe213cf..482ba655d7 100644 --- a/style/mobile/components/rate/v2/_index.less +++ b/style/mobile/components/rate/v2/_index.less @@ -18,6 +18,23 @@ line-height: 1em; width: 1em; transition: transform .3s ease; + position: relative; + + &-left { + position: absolute; + width: 50%; + overflow: hidden; + top: 0; + left: 0; + + &--selected { + color: @rate-selected-color; + } + + &--unselected { + color: @rate-unselected-color; + } + } &--current { transform: scale(@rate-icon-scale);