]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+accounts/account-video-channels/account-video-channels.component.html
Fix bad date display for jobs
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / account-video-channels / account-video-channels.component.html
index 34dc52029cfae719d44a73e2e286d20690eeac68..38293b070612e43d38b3cf9a0b1036bdf0d46c1f 100644 (file)
@@ -1,4 +1,4 @@
-<h1 class="sr-only" i18n>Video channels</h1>
+<h1 class="visually-hidden" i18n>Video channels</h1>
 
 <div class="margin-content">
 
@@ -9,7 +9,7 @@
 
       <div class="channel-avatar-row">
         <my-actor-avatar
-          [channel]="videoChannel"
+          [actor]="videoChannel" actorType="channel"
           [internalHref]="getVideoChannelLink(videoChannel)"
           i18n-title
           title="See this video channel"
 
       <a i18n class="button-show-channel peertube-button-link orange-button-inverted" [routerLink]="getVideoChannelLink(videoChannel)">Show this channel</a>
 
-      <div class="videos">
-        <div class="no-results" i18n *ngIf="getTotalVideosOf(videoChannel) === 0">This channel doesn't have any videos.</div>
+      <div class="videos-overflow-workaround">
+        <div class="videos">
+          <div class="no-results" i18n *ngIf="getTotalVideosOf(videoChannel) === 0">This channel doesn't have any videos.</div>
 
-        <my-video-miniature
-          *ngFor="let video of getVideosOf(videoChannel)"
-          [video]="video" [user]="userMiniature" [displayVideoActions]="true" [displayOptions]="miniatureDisplayOptions"
-        ></my-video-miniature>
+          <my-video-miniature
+            *ngFor="let video of getVideosOf(videoChannel)"
+            [video]="video" [user]="userMiniature" [displayVideoActions]="true" [displayOptions]="miniatureDisplayOptions"
+          ></my-video-miniature>
 
-        <div *ngIf="getTotalVideosOf(videoChannel)" class="miniature-show-channel">
-          <a i18n [routerLink]="getVideoChannelLink(videoChannel)">SHOW THIS CHANNEL ></a>
+          <div *ngIf="getTotalVideosOf(videoChannel)" class="miniature-show-channel">
+            <a i18n [routerLink]="getVideoChannelLink(videoChannel)">SHOW THIS CHANNEL ></a>
+          </div>
         </div>
       </div>
     </div>