feat: [scm-88]: fix spacing on toggle modal (#305)

This commit is contained in:
Calvin Lee 2023-02-03 10:24:54 -07:00 committed by GitHub
parent c8301fc842
commit eaaa825e67
3 changed files with 13 additions and 5 deletions

View File

@ -39,3 +39,7 @@
left: 32%;
}
}
.cancelButton {
margin-left: var(--spacing-small) !important;
}

View File

@ -9,5 +9,6 @@ declare const styles: {
readonly toggle: string
readonly toggleEnable: string
readonly toggleDisable: string
readonly cancelButton: string
}
export default styles

View File

@ -114,11 +114,14 @@ export default function Webhooks() {
setChecked(!checked)
setPopoverDialogOpen(false)
}}></Button>
<Button
text={getString('cancel')}
onClick={() => {
setPopoverDialogOpen(false)
}}></Button>
<Container>
<Button
className={css.cancelButton}
text={getString('cancel')}
onClick={() => {
setPopoverDialogOpen(false)
}}></Button>
</Container>
</Layout.Horizontal>
</Layout.Vertical>
</Container>