mirror of
https://github.com/harness/drone.git
synced 2025-05-20 19:09:59 +08:00
feat: [scm-88]: fix spacing on toggle modal (#305)
This commit is contained in:
parent
c8301fc842
commit
eaaa825e67
@ -39,3 +39,7 @@
|
||||
left: 32%;
|
||||
}
|
||||
}
|
||||
|
||||
.cancelButton {
|
||||
margin-left: var(--spacing-small) !important;
|
||||
}
|
||||
|
@ -9,5 +9,6 @@ declare const styles: {
|
||||
readonly toggle: string
|
||||
readonly toggleEnable: string
|
||||
readonly toggleDisable: string
|
||||
readonly cancelButton: string
|
||||
}
|
||||
export default styles
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user