diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-06 09:19:25 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-06 09:19:25 +0100 |
commit | a2b817d322ef4074bdaaf2589ada567f338323f4 (patch) | |
tree | 3738ebd74821872f14a3392ca8943a968a4cf547 /client/src/app/account/account-videos | |
parent | a06a31c75c0cd4d337e3e193c670a77cabcd9507 (diff) | |
download | PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.tar.gz PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.tar.zst PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.zip |
Better error messages
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; |