Fix datetime picker issues (#11621)

This commit is contained in:
Kamil Gabryjelski 2020-11-09 23:13:27 +01:00 committed by GitHub
parent b9284d3a3c
commit 0c6aeef927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -197,6 +197,13 @@ const PopoverContentStyles = styled.div`
.datetime {
margin: ${({ theme }) => theme.gridUnit}px 0;
}
.ant-tabs {
overflow: visible;
& > .ant-tabs-content-holder {
overflow: visible;
}
}
`;
class DateFilterControl extends React.Component {
@ -454,7 +461,7 @@ class DateFilterControl extends React.Component {
defaultActiveKey={this.state.tab === TABS.DEFAULTS ? '1' : '2'}
id="type"
className="time-filter-tabs"
onSelect={this.changeTab}
onChange={this.changeTab}
>
<Tabs.TabPane key="1" tab="Defaults" forceRender>
<div className="timeframes-container">