mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Fix datetime picker issues (#11621)
This commit is contained in:
parent
b9284d3a3c
commit
0c6aeef927
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user