mirror of
https://github.com/apache/superset.git
synced 2024-09-16 02:29:39 -04:00
fix(chart & filters): make to padding between textarea and buttons (#20026)
* fix(chart & filters): make to padding between textarea and buttons * fix(chart & filters): make to change static pixel to them.gridUnit * fix(chart & filters): make to fix lint issue
This commit is contained in:
parent
60188ef654
commit
26c81a70e7
@ -86,6 +86,10 @@ const FilterPopoverContentContainer = styled.div`
|
||||
}
|
||||
`;
|
||||
|
||||
const FilterActionsContainer = styled.div`
|
||||
margin-top: ${({ theme }) => theme.gridUnit * 2}px;
|
||||
`;
|
||||
|
||||
export default class AdhocFilterEditPopover extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
@ -242,7 +246,7 @@ export default class AdhocFilterEditPopover extends React.Component {
|
||||
</ErrorBoundary>
|
||||
</Tabs.TabPane>
|
||||
</Tabs>
|
||||
<div>
|
||||
<FilterActionsContainer>
|
||||
<Button buttonSize="small" onClick={this.props.onClose} cta>
|
||||
{t('Close')}
|
||||
</Button>
|
||||
@ -266,7 +270,7 @@ export default class AdhocFilterEditPopover extends React.Component {
|
||||
onMouseDown={this.onDragDown}
|
||||
className="fa fa-expand edit-popover-resize text-muted"
|
||||
/>
|
||||
</div>
|
||||
</FilterActionsContainer>
|
||||
</FilterPopoverContentContainer>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user