diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-12 12:27:37 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-12 12:27:37 +0200 |
commit | 46788f21f6c5b4bb301ae60f657b0b75d072aecd (patch) | |
tree | 83f0e57b6b8a98756b14f47ec326555d977da9c4 /client/src/app/videos/recommendations | |
parent | d39db21a883d71d101912c0e6e42e97927edb693 (diff) | |
download | PeerTube-46788f21f6c5b4bb301ae60f657b0b75d072aecd.tar.gz PeerTube-46788f21f6c5b4bb301ae60f657b0b75d072aecd.tar.zst PeerTube-46788f21f6c5b4bb301ae60f657b0b75d072aecd.zip |
switch margin-bottom rules to padding-bottom now used in miniature
Diffstat (limited to 'client/src/app/videos/recommendations')
-rw-r--r-- | client/src/app/videos/recommendations/recommended-videos.component.html | 8 | ||||
-rw-r--r-- | client/src/app/videos/recommendations/recommended-videos.component.scss | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.html b/client/src/app/videos/recommendations/recommended-videos.component.html index e4568c309..a40266028 100644 --- a/client/src/app/videos/recommendations/recommended-videos.component.html +++ b/client/src/app/videos/recommendations/recommended-videos.component.html | |||
@@ -12,11 +12,13 @@ | |||
12 | </div> | 12 | </div> |
13 | </div> | 13 | </div> |
14 | 14 | ||
15 | <div *ngFor="let video of (videos$ | async); let i = index; let length = count"> | 15 | <ng-container *ngFor="let video of (videos$ | async); let i = index; let length = count"> |
16 | <my-video-miniature [displayOptions]="displayOptions" [video]="video" [user]="user" (videoBlocked)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()"> | 16 | <my-video-miniature |
17 | [displayOptions]="displayOptions" [video]="video" [user]="user" | ||
18 | (videoBlocked)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()"> | ||
17 | </my-video-miniature> | 19 | </my-video-miniature> |
18 | 20 | ||
19 | <hr *ngIf="!playlist && i == 0 && length > 1" /> | 21 | <hr *ngIf="!playlist && i == 0 && length > 1" /> |
20 | </div> | 22 | </ng-container> |
21 | </ng-container> | 23 | </ng-container> |
22 | </div> | 24 | </div> |
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.scss b/client/src/app/videos/recommendations/recommended-videos.component.scss index cde62f87f..b278c9654 100644 --- a/client/src/app/videos/recommendations/recommended-videos.component.scss +++ b/client/src/app/videos/recommendations/recommended-videos.component.scss | |||
@@ -25,3 +25,7 @@ | |||
25 | font-weight: 600; | 25 | font-weight: 600; |
26 | } | 26 | } |
27 | } | 27 | } |
28 | |||
29 | hr { | ||
30 | margin-top: 0; | ||
31 | } | ||