Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
geido committed May 23, 2022
1 parent 6fca73d commit dab31e7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion superset-frontend/src/dashboard/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ const actionButtonsStyle = theme => css`
.action-schedule-report {
margin-left: ${theme.gridUnit * 2}px;
}
.undoRedo {
margin-right: ${theme.gridUnit * 2}px;
}
`;

const StyledUndoRedoButton = styled(AntdButton)`
Expand All @@ -148,10 +152,12 @@ const undoRedoDisabled = theme => css`

const saveBtnStyle = theme => css`
min-width: ${theme.gridUnit * 17}px;
height: ${theme.gridUnit * 8}px;
`;

const discardBtnStyle = theme => css`
min-width: ${theme.gridUnit * 22}px;
height: ${theme.gridUnit * 8}px;
`;

class Header extends React.PureComponent {
Expand Down Expand Up @@ -521,7 +527,7 @@ class Header extends React.PureComponent {
>
{editMode && (
<div css={actionButtonsStyle}>
<div className="m-r-5">
<div className="undoRedo">
<Tooltip
id="dashboard-undo-tooltip"
title={t('Undo the action')}
Expand Down

0 comments on commit dab31e7

Please sign in to comment.