Skip to content

Commit

Permalink
fix: use less variables for Segmented (ant-design#35387)
Browse files Browse the repository at this point in the history
  • Loading branch information
vagusX authored May 5, 2022
1 parent d8ab5a5 commit ce1fc29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/segmented/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
padding: @segmented-container-padding;
color: @segmented-label-color;
background-color: @segmented-bg;
border-radius: 2px;
border-radius: @border-radius-base;
transition: all 0.3s @ease-in-out;

&-group {
Expand Down Expand Up @@ -67,7 +67,7 @@

// syntactic sugar to add `icon` for Segmented Item
&-icon + * {
margin-left: 6px;
margin-left: @margin-sm / 2;
}

&-input {
Expand Down

0 comments on commit ce1fc29

Please sign in to comment.