diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-01 16:14:34 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-01 16:54:49 +0200 |
commit | 4d5e572f52e000034abb076e4bf7d7044d704f94 (patch) | |
tree | b064e9902bf68e5e67c4f1750779c2e2ef2b47f1 /client/src/app/+video-channels | |
parent | 0f7407d926cf7774f8f730dba08327569c11680c (diff) | |
download | PeerTube-4d5e572f52e000034abb076e4bf7d7044d704f94.tar.gz PeerTube-4d5e572f52e000034abb076e4bf7d7044d704f94.tar.zst PeerTube-4d5e572f52e000034abb076e4bf7d7044d704f94.zip |
Account/channel videos display as rows
Diffstat (limited to 'client/src/app/+video-channels')
2 files changed, 6 insertions, 3 deletions
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 @@ | |||
24 | } | 24 | } |
25 | 25 | ||
26 | .playlists { | 26 | .playlists { |
27 | text-align: left !important; | 27 | justify-content: left; |
28 | justify-content: left !important; | ||
29 | 28 | ||
30 | margin-left: pvar(--horizontalMarginContent) !important; | 29 | margin-left: pvar(--horizontalMarginContent) !important; |
31 | margin-right: var(--horizontalMarginContent) !important; | 30 | margin-right: pvar(--horizontalMarginContent) !important; |
32 | } | 31 | } |
33 | } | 32 | } |
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 | |||
112 | 112 | ||
113 | this.reloadVideos() | 113 | this.reloadVideos() |
114 | } | 114 | } |
115 | |||
116 | displayAsRow () { | ||
117 | return this.screenService.isInMobileView() | ||
118 | } | ||
115 | } | 119 | } |