Skip to content

Commit

Permalink
fix(switch): fix switch small 28px (#1577)
Browse files Browse the repository at this point in the history
Co-authored-by: zhujiahong <zhujiahong@growingio.com>
  • Loading branch information
zhuzilv and zhujiahong committed Dec 1, 2021
1 parent 40594a5 commit 4a330d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/switchGroup/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,12 @@
}

.@{switch__group} {
@switch-small-height: 28px;
@switch-normal-height: 34px;
@switch-small-height: 30px;
@switch-normal-height: 36px;

display: inline-flex;
justify-content: flex-start;
box-sizing: border-box;
border: 1px solid @gray-2;
border-radius: 4px;

Expand Down

1 comment on commit 4a330d5

@vercel
Copy link

@vercel vercel bot commented on 4a330d5 Dec 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.