From 41765fbed0b3b9c8a574a0d7358b2d3f876162c5 Mon Sep 17 00:00:00 2001 From: zhouyun1 Date: Thu, 23 Nov 2023 19:27:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(picker):=20=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E7=9B=92=E6=A8=A1=E5=9E=8B=E8=AE=BE=E7=BD=AE=E4=B8=BA=20conten?= =?UTF-8?q?t-box=20(#2676)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/loud-pugs-work.md | 5 +++++ .changeset/smart-paws-bow.md | 9 +++++++++ packages/ui/picker/src/styles/picker.scss | 1 + 3 files changed, 15 insertions(+) create mode 100644 .changeset/loud-pugs-work.md create mode 100644 .changeset/smart-paws-bow.md 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);