From 942005c6b80775554174a7e6d82367f954b0388e Mon Sep 17 00:00:00 2001 From: fujianchao Date: Wed, 4 Dec 2024 19:32:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=80=89=E5=8F=96=E7=BB=84=E4=BB=B6=EF=BC=8C=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E5=B1=82=E5=86=85=E5=AE=B9=E5=A0=86=E5=8F=A0=E5=9C=A8=E4=B8=80?= =?UTF-8?q?=E8=B5=B7=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-ui/scss/components/_crud.scss | 2 +- packages/amis-ui/scss/components/form/_picker.scss | 2 +- .../__tests__/renderers/__snapshots__/Picker.test.tsx.snap | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/amis-ui/scss/components/_crud.scss b/packages/amis-ui/scss/components/_crud.scss index 0b710b13050..fceeddf2f25 100644 --- a/packages/amis-ui/scss/components/_crud.scss +++ b/packages/amis-ui/scss/components/_crud.scss @@ -13,7 +13,7 @@ &-overflow { &-wrapper { display: flex; - flex-flow: column nowrap; + flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; overflow-x: hidden; diff --git a/packages/amis-ui/scss/components/form/_picker.scss b/packages/amis-ui/scss/components/form/_picker.scss index 62e39438c4f..3a2c26c76d7 100644 --- a/packages/amis-ui/scss/components/form/_picker.scss +++ b/packages/amis-ui/scss/components/form/_picker.scss @@ -162,7 +162,7 @@ &-overflow { &-wrapper { display: flex; - flex-flow: column nowrap; + flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; overflow-x: hidden; diff --git a/packages/amis/__tests__/renderers/__snapshots__/Picker.test.tsx.snap b/packages/amis/__tests__/renderers/__snapshots__/Picker.test.tsx.snap index 2aee6e5b55b..c33a609d6bd 100644 --- a/packages/amis/__tests__/renderers/__snapshots__/Picker.test.tsx.snap +++ b/packages/amis/__tests__/renderers/__snapshots__/Picker.test.tsx.snap @@ -272,6 +272,11 @@ exports[`1. Renderer:Picker base 2`] = `
+ + × +