Skip to content

Commit

Permalink
Refator/rate (Tencent#1310)
Browse files Browse the repository at this point in the history
* refactor(rate): rate popover

* docs: rate docs

* refactor(rate): rate tips
  • Loading branch information
fengchunqi authored and oljc committed May 9, 2023
1 parent 86c4126 commit 616a3af
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions style/mobile/components/rate/v2/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 616a3af

Please sign in to comment.