]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Put "owner account" in card
authorChocobozzz <me@florianbigard.com>
Tue, 13 Apr 2021 13:54:47 +0000 (15:54 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 13 Apr 2021 13:57:05 +0000 (15:57 +0200)
Just a test

client/src/app/+video-channels/video-channels.component.html
client/src/app/+video-channels/video-channels.component.scss

index 91db820fc921d65d8e21bc4b537cfd56279697c5..b058a81856b38388f6c9cc7924ca7c403aec53c5 100644 (file)
@@ -20,6 +20,8 @@
 
     <ng-template #ownerTemplate>
       <div class="owner-block">
+        <div class="section-label" i18n>OWNER ACCOUNT</div>
+
         <div class="avatar-row">
           <a [routerLink]="getAccountUrl()" title="View account" i18n-title>
             <img class="account-avatar" [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
     </div>
 
     <div class="owner-card">
-      <div class="section-label" i18n>OWNER ACCOUNT</div>
-
       <ng-template *ngTemplateOutlet="ownerTemplate"></ng-template>
     </div>
   </div>
 
   <div class="bottom-owner">
-    <div class="section-label" i18n>OWNER ACCOUNT</div>
-
     <ng-template *ngTemplateOutlet="ownerTemplate"></ng-template>
   </div>
 
index 112ec1c22435570db928ba4e10c84f2155986cac..e946707efa1aba97f418d7db01d7e49bf2c5f005 100644 (file)
@@ -43,7 +43,6 @@
   background-color: pvar(--channelBackgroundColor);
   margin-bottom: 45px;
   padding-top: var(--myGlobalTopPadding);
-  padding-bottom: var(--myGlobalTopPadding);
   font-size: var(--myFontSize);
 }
 
@@ -58,6 +57,7 @@
 .channel-description {
   grid-column: 1;
   word-break: break-word;
+  padding-bottom: var(--myGlobalTopPadding);
 }
 
 .show-more {