diff --git a/client/src/app/+accounts/account-videos/account-videos.component.ts b/client/src/app/+accounts/account-videos/account-videos.component.ts index 484d60e25..78af2316a 100644 --- a/client/src/app/+accounts/account-videos/account-videos.component.ts +++ b/client/src/app/+accounts/account-videos/account-videos.component.ts @@ -93,4 +93,8 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit, generateSyndicationList () { this.syndicationItems = this.videoService.getAccountFeedUrls(this.account.id) } + + displayAsRow () { + return this.screenService.isInMobileView() + } } diff --git a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss index 3dd35ef3f..acd2e409e 100644 --- a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss +++ b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss @@ -24,10 +24,9 @@ } .playlists { - text-align: left !important; - justify-content: left !important; + justify-content: left; margin-left: pvar(--horizontalMarginContent) !important; - margin-right: var(--horizontalMarginContent) !important; + margin-right: pvar(--horizontalMarginContent) !important; } } diff --git a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts index 5e2af1b92..e05b06e5c 100644 --- a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts +++ b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts @@ -112,4 +112,8 @@ export class VideoChannelVideosComponent extends AbstractVideoList implements On this.reloadVideos() } + + displayAsRow () { + return this.screenService.isInMobileView() + } } diff --git a/client/src/app/shared/shared-video-miniature/abstract-video-list.html b/client/src/app/shared/shared-video-miniature/abstract-video-list.html index 81c773b5a..ee5df28be 100644 --- a/client/src/app/shared/shared-video-miniature/abstract-video-list.html +++ b/client/src/app/shared/shared-video-miniature/abstract-video-list.html @@ -43,7 +43,7 @@