diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-06 16:58:55 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-06 16:58:55 +0100 |
commit | 54e7884775197877dd941b44bef03b3c6387b22a (patch) | |
tree | 6a37e8e5476c382b84b77327597e209a9afb64e3 /client/src/app/shared/confirm | |
parent | de702865f47f647fafb34ca05dde3ea780a4ecb1 (diff) | |
download | PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.tar.gz PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.tar.zst PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.zip |
Normalize modal close buttons, and cancel/submit button styles
Diffstat (limited to 'client/src/app/shared/confirm')
-rw-r--r-- | client/src/app/shared/confirm/confirm.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/confirm/confirm.component.ts b/client/src/app/shared/confirm/confirm.component.ts index 763454c4f..d67d4f3c8 100644 --- a/client/src/app/shared/confirm/confirm.component.ts +++ b/client/src/app/shared/confirm/confirm.component.ts | |||
@@ -60,7 +60,7 @@ export class ConfirmComponent implements OnInit { | |||
60 | showModal () { | 60 | showModal () { |
61 | this.inputValue = '' | 61 | this.inputValue = '' |
62 | 62 | ||
63 | this.openedModal = this.modalService.open(this.confirmModal) | 63 | this.openedModal = this.modalService.open(this.confirmModal, { centered: true }) |
64 | 64 | ||
65 | this.openedModal.result | 65 | this.openedModal.result |
66 | .then(() => this.confirmService.confirmResponse.next(true)) | 66 | .then(() => this.confirmService.confirmResponse.next(true)) |