Skip to content

Commit

Permalink
fix(chart & filters): make to padding between textarea and buttons (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
prosdev0107 authored May 12, 2022
1 parent 60188ef commit 26c81a7
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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>
Expand All @@ -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>
);
}
Expand Down

0 comments on commit 26c81a7

Please sign in to comment.