fix(native-filter): Default value multi-select height in native filters (#14816)

* Fix height

* Fix height sidebar

* Move style
This commit is contained in:
Geido 2021-05-27 13:05:58 +03:00 committed by GitHub
parent 2b4e0ec9e0
commit ad4ce83327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,9 @@ import { useCascadingFilters } from './state';
const FilterItem = styled.div`
min-height: ${({ theme }) => theme.gridUnit * 11}px;
padding-bottom: ${({ theme }) => theme.gridUnit * 3}px;
& > div > div {
height: auto;
}
`;
const FilterValue: React.FC<FilterProps> = ({

View File

@ -97,6 +97,9 @@ export const StyledRowFormItem = styled(Form.Item)`
margin-bottom: 0px;
min-width: 50%;
.ant-form-item-control-input-content > div > div {
height: auto;
}
& .ant-form-item-control-input {
min-height: ${({ theme }) => theme.gridUnit * 10}px;
}