diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-11 18:05:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-11 18:05:16 +0200 |
commit | 5ff523664fda3acf83e319a7c08cd14af0025e99 (patch) | |
tree | bd876a029fb155fc517819a93776e0c8bb11f340 /client/src/app/shared | |
parent | 72efdda586489bf59ac7df12ff9e75a926f1f048 (diff) | |
download | PeerTube-5ff523664fda3acf83e319a7c08cd14af0025e99.tar.gz PeerTube-5ff523664fda3acf83e319a7c08cd14af0025e99.tar.zst PeerTube-5ff523664fda3acf83e319a7c08cd14af0025e99.zip |
Fix user dropdown overflow
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/moderation/user-moderation-dropdown.component.html | 3 | ||||
-rw-r--r-- | client/src/app/shared/moderation/user-moderation-dropdown.component.ts | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/shared/moderation/user-moderation-dropdown.component.html b/client/src/app/shared/moderation/user-moderation-dropdown.component.html index adb672322..4d562387a 100644 --- a/client/src/app/shared/moderation/user-moderation-dropdown.component.html +++ b/client/src/app/shared/moderation/user-moderation-dropdown.component.html | |||
@@ -4,5 +4,6 @@ | |||
4 | <my-action-dropdown | 4 | <my-action-dropdown |
5 | [actions]="userActions" [entry]="{ user: user, account: account }" | 5 | [actions]="userActions" [entry]="{ user: user, account: account }" |
6 | [buttonSize]="buttonSize" [placement]="placement" [label]="label" | 6 | [buttonSize]="buttonSize" [placement]="placement" [label]="label" |
7 | [container]="container" | ||
7 | ></my-action-dropdown> | 8 | ></my-action-dropdown> |
8 | </ng-container> \ No newline at end of file | 9 | </ng-container> |
diff --git a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts index c8ccaa800..f8ad7ce13 100644 --- a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts +++ b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts | |||
@@ -22,6 +22,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges { | |||
22 | @Input() buttonSize: 'normal' | 'small' = 'normal' | 22 | @Input() buttonSize: 'normal' | 'small' = 'normal' |
23 | @Input() placement = 'left-top left-bottom auto' | 23 | @Input() placement = 'left-top left-bottom auto' |
24 | @Input() label: string | 24 | @Input() label: string |
25 | @Input() container: 'body' | undefined = undefined | ||
25 | 26 | ||
26 | @Output() userChanged = new EventEmitter() | 27 | @Output() userChanged = new EventEmitter() |
27 | @Output() userDeleted = new EventEmitter() | 28 | @Output() userDeleted = new EventEmitter() |