Skip to content

Commit

Permalink
chore(select): 调整下拉选项间距
Browse files Browse the repository at this point in the history
  • Loading branch information
zyprepare committed Sep 21, 2023
1 parent 83cd49f commit 61eddd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ui/select/src/styles/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
$prefix: '#{$component-prefix}-select' !default;

.#{$prefix}-option {
margin-top: use-spacing(1);
margin-bottom: use-spacing(1);
box-sizing: border-box;
width: 100%;
display: flex;
Expand All @@ -25,7 +27,7 @@ $prefix: '#{$component-prefix}-select' !default;
display: inline-block;
box-sizing: border-box;
width: 100%;
padding: use-spacing(3);
padding: use-spacing(2);
font-size: inherit;
font-weight: inherit;
color: inherit;
Expand Down

0 comments on commit 61eddd7

Please sign in to comment.