fix: auto-complete width

This commit is contained in:
jialin
2025-04-07 17:10:05 +08:00
parent a7dee45720
commit 30c4fb8032
2 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ const SealAutoComplete: React.FC<
};
return (
<SelectWrapper>
<SelectWrapper style={style}>
<Wrapper
className="seal-select-wrapper"
status={status}
+4 -6
View File
@@ -34,7 +34,7 @@ const SelectWrapper = styled.div`
}
&:hover {
:global(.ant-select-dropdown) {
.ant-select-dropdown {
border-color: var(--ant-input-active-border-color);
}
}
@@ -75,17 +75,15 @@ const SelectWrapper = styled.div`
&.no-label {
padding-block: 0;
:global {
.ant-select-arrow {
top: 50%;
}
.ant-select-arrow {
top: 50%;
}
.ant-select-selector {
padding-block-start: 0 !important;
}
:global(.ant-select .ant-select-selection-search) {
.ant-select .ant-select-selection-search {
top: 10px !important;
}
}