Fix other videos width to avoid layout movement
authorChocobozzz <me@florianbigard.com>
Fri, 25 Oct 2019 09:31:52 +0000 (11:31 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 25 Oct 2019 09:31:52 +0000 (11:31 +0200)
client/src/app/videos/recommendations/recommended-videos.component.html

index 1fb89f8b098fafcec3c44cc969d61d1bdbd7a725..5b5951f99a322f59bc5bd6a1d3c8179435feec0d 100644 (file)
@@ -1,9 +1,12 @@
-<div *ngIf="hasVideos$ | async" class="other-videos">
+<div class="other-videos">
+  <ng-container *ngIf="hasVideos$ | async">
     <div i18n class="title-page title-page-single">
-        Other videos
+      Other videos
     </div>
 
     <div *ngFor="let video of (videos$ | async)">
-        <my-video-miniature [video]="video" [user]="user" (videoBlacklisted)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()"></my-video-miniature>
+      <my-video-miniature [video]="video" [user]="user" (videoBlacklisted)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()">
+      </my-video-miniature>
     </div>
+  </ng-container>
 </div>