Skip to content

Commit

Permalink
Refator/rate (#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 committed Apr 27, 2023
1 parent 6c73ecf commit dc2678c
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 dc2678c

Please sign in to comment.