Skip to content

Commit

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

&-item {
width: 100%;
padding: use-spacing(1) 0;
position: relative;
cursor: pointer;
display: flex;
Expand All @@ -89,7 +90,7 @@ $prefix: '#{$component-prefix}-cascader' !default;
&-option {
padding: 0 use-spacing(4);
box-sizing: border-box;
height: 32px;
height: use-height-size(7);
width: 100%;
display: flex;
align-items: center;
Expand Down

0 comments on commit ac4f37a

Please sign in to comment.