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
This commit is contained in:
xusongfu 2022-02-24 18:38:57 +08:00
parent 22be7ac616
commit 04e8210fdd

View File

@ -1,13 +1,14 @@
.add-select { .add-select {
} }
.items { .items {
overflow: hidden; float: left;
width: 100%;
} }
.item { .item {
position: relative; position: relative;
margin-bottom: 8px;
margin-top: 8px; margin-top: 8px;
overflow: hidden; float: left;
width: 100%;
:global { :global {
.ant-form-item-has-success .ant-form-item-has-success
.ant-select:not(.ant-select-borderless) .ant-select:not(.ant-select-borderless)