mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-22 08:46:54 -06:00
Apply a fade instead of a loader when loading videos
This commit is contained in:
parent
192ea60b82
commit
7914607ecd
@ -4,11 +4,9 @@
|
||||
</div>
|
||||
|
||||
<div class="videos-miniatures">
|
||||
<my-loader [loading]="loading"></my-loader>
|
||||
|
||||
<div class="col-md-12 no-video" *ngIf="noVideo()">There is no video.</div>
|
||||
|
||||
<my-video-miniature *ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
|
||||
<my-video-miniature class="ng-animate "*ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
|
||||
</my-video-miniature>
|
||||
</div>
|
||||
|
||||
|
@ -21,8 +21,20 @@
|
||||
.videos-miniatures {
|
||||
min-height: 600px;
|
||||
|
||||
my-videos-miniature {
|
||||
display: inline-block;
|
||||
my-video-miniature {
|
||||
transition: all 0.5s ease;
|
||||
|
||||
&.ng-enter {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&.ng-enter-active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.ng-leave {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.no-video {
|
||||
|
Loading…
Reference in New Issue
Block a user