Skip to content

Commit

Permalink
chore(settings): fix schedule confirmation dialog style
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Feb 27, 2022
1 parent 01a5ece commit d8c9a1c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Settings/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -961,8 +961,11 @@ export class Settings extends Component {
confirmLabel={translate('confirm')}
onConfirm={this.applyScheduleSettings}
hasHeader={false}
topOffset="24vmin"
shouldCloseOnOverlayClick={false}
topOffset="24vmin"
minHeightContent="auto"
contentContainerProps={{ padding: 16 }}
containerProps={{ className: 'schedule-dialog' }}
>
{translate('confirmApplyScheduleSettings')}
</Dialog>
Expand Down
7 changes: 7 additions & 0 deletions src/components/Settings/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,10 @@
color: #333;
}
}

.schedule-dialog {
> div:last-child {
border-top: 1px solid rgb(237, 240, 242);
padding: 16px;
}
}

0 comments on commit d8c9a1c

Please sign in to comment.