From 04e8210fdd2710732485a144dbde66d23c2c7ae7 Mon Sep 17 00:00:00 2001 From: xusongfu Date: Thu, 24 Feb 2022 18:38:57 +0800 Subject: [PATCH] fix: Fix the style of AddSelect component Use float instead of overflow to avoid the inner selects options being occluded by outer element Change-Id: I41c6ef3d60e5717c8c9b929091b4383365aa4d29 --- src/components/FormItem/AddSelect/index.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/FormItem/AddSelect/index.less b/src/components/FormItem/AddSelect/index.less index a8072136..5a3562b6 100644 --- a/src/components/FormItem/AddSelect/index.less +++ b/src/components/FormItem/AddSelect/index.less @@ -1,13 +1,14 @@ .add-select { } .items { - overflow: hidden; + float: left; + width: 100%; } .item { position: relative; - margin-bottom: 8px; margin-top: 8px; - overflow: hidden; + float: left; + width: 100%; :global { .ant-form-item-has-success .ant-select:not(.ant-select-borderless)