diff --git a/.changeset/loud-pugs-work.md b/.changeset/loud-pugs-work.md new file mode 100644 index 000000000..07c1f8a92 --- /dev/null +++ b/.changeset/loud-pugs-work.md @@ -0,0 +1,5 @@ +--- +"@hi-ui/hiui": patch +--- + +fix(picker): 下拉框盒模型设置为 content-box diff --git a/.changeset/smart-paws-bow.md b/.changeset/smart-paws-bow.md new file mode 100644 index 000000000..250102ea2 --- /dev/null +++ b/.changeset/smart-paws-bow.md @@ -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 diff --git a/packages/ui/picker/src/styles/picker.scss b/packages/ui/picker/src/styles/picker.scss index 905a68aff..45443b9c5 100644 --- a/packages/ui/picker/src/styles/picker.scss +++ b/packages/ui/picker/src/styles/picker.scss @@ -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);