Fix adding videos in playlist from discover page
This commit is contained in:
parent
a8495f4215
commit
560be1e925
|
@ -3,7 +3,8 @@
|
|||
<div
|
||||
*ngIf="isUserLoggedIn() && displayOptions.playlist"
|
||||
role="button" aria-label="Open video actions" i18n-aria-label
|
||||
class="playlist-dropdown" ngbDropdown #playlistDropdown="ngbDropdown" autoClose="outside" [placement]="getPlaylistDropdownPlacement()"
|
||||
class="playlist-dropdown" ngbDropdown #playlistDropdown="ngbDropdown" autoClose="outside"
|
||||
container="body" [placement]="getPlaylistDropdownPlacement()"
|
||||
>
|
||||
<span class="anchor" ngbDropdownAnchor></span>
|
||||
|
||||
|
|
|
@ -414,10 +414,10 @@ export class VideoActionsDropdownComponent implements OnChanges {
|
|||
|
||||
getPlaylistDropdownPlacement () {
|
||||
if (this.screenService.isInSmallView()) {
|
||||
return 'bottom-right'
|
||||
return 'bottom-right auto'
|
||||
}
|
||||
|
||||
return 'bottom-left bottom-right'
|
||||
return 'bottom-left bottom-right auto'
|
||||
}
|
||||
|
||||
private buildActions () {
|
||||
|
|
Loading…
Reference in New Issue