fix: Set width to pseudoelement to wrap filter box (#12306)

* fix: set width pseudoelement to wrap

* Fix

Co-authored-by: Victor Malai <victormalai@Victors-MacBook-Pro.local>
This commit is contained in:
Victor Malai 2021-01-08 20:09:37 +02:00 committed by GitHub
parent 466a7c8693
commit 4d279935df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,7 @@ export default class AdhocFilterEditPopover extends React.Component {
defaultActiveKey={adhocFilter.expressionType}
className="adhoc-filter-edit-tabs"
data-test="adhoc-filter-edit-tabs"
style={{ height: this.state.height, width: this.state.width }}
style={{ minHeight: this.state.height, width: this.state.width }}
allowOverflow
>
<Tabs.TabPane

View File

@ -44,6 +44,7 @@ const SelectWithLabel = styled(Select)`
display: inline-block;
white-space: nowrap;
color: ${({ theme }) => theme.colors.grayscale.light1};
width: max-content;
}
`;