diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/buttons/action-dropdown.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/buttons/action-dropdown.component.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/buttons/action-dropdown.component.html b/client/src/app/shared/buttons/action-dropdown.component.html index 0efc01d38..952b3b6f8 100644 --- a/client/src/app/shared/buttons/action-dropdown.component.html +++ b/client/src/app/shared/buttons/action-dropdown.component.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <div class="dropdown-root" ngbDropdown [placement]="placement" container="body" *ngIf="areActionsDisplayed(actions, entry)"> | 1 | <div class="dropdown-root" ngbDropdown [placement]="placement" [container]="container" *ngIf="areActionsDisplayed(actions, entry)"> |
2 | <div | 2 | <div |
3 | class="action-button" [ngClass]="{ small: buttonSize === 'small', grey: theme === 'grey', orange: theme === 'orange', 'button-styled': buttonStyled }" | 3 | class="action-button" [ngClass]="{ small: buttonSize === 'small', grey: theme === 'grey', orange: theme === 'orange', 'button-styled': buttonStyled }" |
4 | ngbDropdownToggle role="button" | 4 | ngbDropdownToggle role="button" |
diff --git a/client/src/app/shared/buttons/action-dropdown.component.ts b/client/src/app/shared/buttons/action-dropdown.component.ts index 8fcaa38b9..15f9556dc 100644 --- a/client/src/app/shared/buttons/action-dropdown.component.ts +++ b/client/src/app/shared/buttons/action-dropdown.component.ts | |||
@@ -27,6 +27,7 @@ export class ActionDropdownComponent<T> { | |||
27 | @Input() entry: T | 27 | @Input() entry: T |
28 | 28 | ||
29 | @Input() placement = 'bottom-left auto' | 29 | @Input() placement = 'bottom-left auto' |
30 | @Input() container: null | 'body' | ||
30 | 31 | ||
31 | @Input() buttonSize: DropdownButtonSize = 'normal' | 32 | @Input() buttonSize: DropdownButtonSize = 'normal' |
32 | @Input() buttonDirection: DropdownDirection = 'horizontal' | 33 | @Input() buttonDirection: DropdownDirection = 'horizontal' |