diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-05 20:54:37 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-02-13 10:25:22 +0100 |
commit | 24e7916c6897bbb38e057cdf1a102286006be964 (patch) | |
tree | 7621dd83d532ba04b725f4feeb902ccbdb6669ff /client/src/app/modal | |
parent | eb7c7a517902eae425b05d1ca9cb7f99f76ee71f (diff) | |
download | PeerTube-24e7916c6897bbb38e057cdf1a102286006be964.tar.gz PeerTube-24e7916c6897bbb38e057cdf1a102286006be964.tar.zst PeerTube-24e7916c6897bbb38e057cdf1a102286006be964.zip |
Add ListOverflow component to prevent sub-menu overflow
Diffstat (limited to 'client/src/app/modal')
-rw-r--r-- | client/src/app/modal/instance-config-warning-modal.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/modal/welcome-modal.component.ts | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/modal/instance-config-warning-modal.component.ts b/client/src/app/modal/instance-config-warning-modal.component.ts index 742a7dd41..5e1433548 100644 --- a/client/src/app/modal/instance-config-warning-modal.component.ts +++ b/client/src/app/modal/instance-config-warning-modal.component.ts | |||
@@ -24,7 +24,7 @@ export class InstanceConfigWarningModalComponent { | |||
24 | show (about: About) { | 24 | show (about: About) { |
25 | this.about = about | 25 | this.about = about |
26 | 26 | ||
27 | const ref = this.modalService.open(this.modal) | 27 | const ref = this.modalService.open(this.modal, { centered: true }) |
28 | 28 | ||
29 | ref.result.finally(() => { | 29 | ref.result.finally(() => { |
30 | if (this.stopDisplayModal === true) this.doNotOpenAgain() | 30 | if (this.stopDisplayModal === true) this.doNotOpenAgain() |
diff --git a/client/src/app/modal/welcome-modal.component.ts b/client/src/app/modal/welcome-modal.component.ts index 19a147b85..e022776e3 100644 --- a/client/src/app/modal/welcome-modal.component.ts +++ b/client/src/app/modal/welcome-modal.component.ts | |||
@@ -18,7 +18,8 @@ export class WelcomeModalComponent { | |||
18 | ) { } | 18 | ) { } |
19 | 19 | ||
20 | show () { | 20 | show () { |
21 | this.modalService.open(this.modal,{ | 21 | this.modalService.open(this.modal, { |
22 | centered: true, | ||
22 | backdrop: 'static', | 23 | backdrop: 'static', |
23 | keyboard: false, | 24 | keyboard: false, |
24 | size: 'lg' | 25 | size: 'lg' |