Skip to content

Commit

Permalink
fix(switch): use border-radius token replace switch radius (Tencent#1311
Browse files Browse the repository at this point in the history
)
  • Loading branch information
uyarn authored and oljc committed May 9, 2023
1 parent b97171b commit 86c4126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion style/web/components/switch/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
margin: 0;
height: @switch-height-default;
line-height: @switch-height-default;
border-radius: calc(@switch-height-default / 2);
border-radius: @border-radius-extraLarge;
min-width: @switch-min-width-default;
transition: @switch-transition;
background-color: @switch-unchecked-bg-color;
Expand Down

0 comments on commit 86c4126

Please sign in to comment.