Fix adding videos in playlist from discover page

This commit is contained in:
Chocobozzz 2025-01-03 11:04:50 +01:00
parent a8495f4215
commit 560be1e925
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -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 () {