Skip to content

Commit

Permalink
feat: add @rate-star-hover-scale
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Jun 11, 2020
1 parent cb544f7 commit b4b418f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/rate/style/index.less
Expand Up @@ -42,7 +42,7 @@

&:hover,
&:focus {
transform: scale(1.1);
transform: @rate-star-hover-scale;
}
}

Expand Down
1 change: 1 addition & 0 deletions components/style/themes/default.less
Expand Up @@ -644,6 +644,7 @@
@rate-star-color: @yellow-6;
@rate-star-bg: @border-color-split;
@rate-star-size: 20px;
@rate-star-hover-scale: scale(1.1);

// Card
// ---
Expand Down

0 comments on commit b4b418f

Please sign in to comment.