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:
smileydev 2022-05-12 02:54:21 -05:00 committed by GitHub
parent 60188ef654
commit 26c81a70e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>
);
}