diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-29 16:20:23 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-29 16:20:23 +0100 |
commit | 1689176a7bff6edd90d162994cccec2e4bfe9a45 (patch) | |
tree | 7a9739f0ed733a4e0db1f91d50b0771535b85d87 /client/src/app | |
parent | cdbfd2b00324705a172a1985b8da218f1a67fc7d (diff) | |
download | PeerTube-1689176a7bff6edd90d162994cccec2e4bfe9a45.tar.gz PeerTube-1689176a7bff6edd90d162994cccec2e4bfe9a45.tar.zst PeerTube-1689176a7bff6edd90d162994cccec2e4bfe9a45.zip |
Fix channel playlist miniatures overflow
Diffstat (limited to 'client/src/app')
2 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html index 1adc50180..3990e73da 100644 --- a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html +++ b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html | |||
@@ -5,7 +5,7 @@ | |||
5 | <div i18n class="no-results" *ngIf="pagination.totalItems === 0">This channel does not have playlists.</div> | 5 | <div i18n class="no-results" *ngIf="pagination.totalItems === 0">This channel does not have playlists.</div> |
6 | 6 | ||
7 | <div class="video-playlist" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> | 7 | <div class="video-playlist" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> |
8 | <div *ngFor="let playlist of videoPlaylists"> | 8 | <div *ngFor="let playlist of videoPlaylists" class="playlist-miniature-container"> |
9 | <my-video-playlist-miniature [playlist]="playlist" [toManage]="false"></my-video-playlist-miniature> | 9 | <my-video-playlist-miniature [playlist]="playlist" [toManage]="false"></my-video-playlist-miniature> |
10 | </div> | 10 | </div> |
11 | </div> | 11 | </div> |
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 fe9104794..f0fe7503f 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 | |||
@@ -1,8 +1,9 @@ | |||
1 | .video-playlist { | 1 | .video-playlist { |
2 | display: flex; | 2 | display: flex; |
3 | flex-wrap: wrap; | ||
3 | justify-content: center; | 4 | justify-content: center; |
4 | 5 | ||
5 | my-video-playlist-miniature { | 6 | .playlist-miniature-container { |
6 | margin-right: 15px; | 7 | margin-right: 15px; |
7 | margin-bottom: 30px; | 8 | margin-bottom: 30px; |
8 | } | 9 | } |