Skip to content

Commit

Permalink
fix(native-filter): Default value multi-select height in native filte…
Browse files Browse the repository at this point in the history
…rs (apache#14816)

* Fix height

* Fix height sidebar

* Move style
  • Loading branch information
geido committed May 27, 2021
1 parent 2c46c3f commit 8f744c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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> = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8f744c4

Please sign in to comment.