Skip to content

Commit

Permalink
fix(picker): 下拉框盒模型设置为 content-box (#2676)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyprepare committed Nov 23, 2023
1 parent c715705 commit 41765fb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-pugs-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hi-ui/hiui": patch
---

fix(picker): 下拉框盒模型设置为 content-box
9 changes: 9 additions & 0 deletions .changeset/smart-paws-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@hi-ui/picker": patch
"@hi-ui/check-select": patch
"@hi-ui/check-tree-select": patch
"@hi-ui/select": patch
"@hi-ui/tree-select": patch
---

fix: 下拉框盒模型设置为 content-box
1 change: 1 addition & 0 deletions packages/ui/picker/src/styles/picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ $prefix: '#{$component-prefix}-picker' !default;
// }

&__body {
box-sizing: content-box;
max-height: 260px;
overflow-y: auto;
padding: use-spacing(4) use-spacing(4);
Expand Down

0 comments on commit 41765fb

Please sign in to comment.