diff options
Diffstat (limited to 'client/src/app/account/account-videos')
-rw-r--r-- | client/src/app/account/account-videos/account-videos.component.html | 2 | ||||
-rw-r--r-- | client/src/app/account/account-videos/account-videos.component.scss | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/client/src/app/account/account-videos/account-videos.component.html b/client/src/app/account/account-videos/account-videos.component.html index eb0a32fd3..81bda9477 100644 --- a/client/src/app/account/account-videos/account-videos.component.html +++ b/client/src/app/account/account-videos/account-videos.component.html | |||
@@ -1,7 +1,9 @@ | |||
1 | <div | 1 | <div |
2 | infiniteScroll | 2 | infiniteScroll |
3 | [infiniteScrollDistance]="0.5" | 3 | [infiniteScrollDistance]="0.5" |
4 | [infiniteScrollUpDistance]="1.5" | ||
4 | (scrolled)="onNearOfBottom()" | 5 | (scrolled)="onNearOfBottom()" |
6 | (scrolledUp)="onNearOfTop()" | ||
5 | > | 7 | > |
6 | <div class="video" *ngFor="let video of videos"> | 8 | <div class="video" *ngFor="let video of videos"> |
7 | <my-video-thumbnail [video]="video"></my-video-thumbnail> | 9 | <my-video-thumbnail [video]="video"></my-video-thumbnail> |
diff --git a/client/src/app/account/account-videos/account-videos.component.scss b/client/src/app/account/account-videos/account-videos.component.scss index b26933d22..c31497350 100644 --- a/client/src/app/account/account-videos/account-videos.component.scss +++ b/client/src/app/account/account-videos/account-videos.component.scss | |||
@@ -2,8 +2,11 @@ | |||
2 | display: flex; | 2 | display: flex; |
3 | height: 130px; | 3 | height: 130px; |
4 | padding-bottom: 20px; | 4 | padding-bottom: 20px; |
5 | margin-bottom: 20px; | 5 | |
6 | border-bottom: 1px solid #C6C6C6; | 6 | &:not(:last-child) { |
7 | margin-bottom: 20px; | ||
8 | border-bottom: 1px solid #C6C6C6; | ||
9 | } | ||
7 | 10 | ||
8 | my-video-thumbnail { | 11 | my-video-thumbnail { |
9 | margin-right: 10px; | 12 | margin-right: 10px; |