Put "owner account" in card

Just a test
pull/3963/head
Chocobozzz 2021-04-13 15:54:47 +02:00
parent ace396c4e0
commit 1748e92aaa
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 3 additions and 5 deletions

View File

@ -20,6 +20,8 @@
<ng-template #ownerTemplate> <ng-template #ownerTemplate>
<div class="owner-block"> <div class="owner-block">
<div class="section-label" i18n>OWNER ACCOUNT</div>
<div class="avatar-row"> <div class="avatar-row">
<a [routerLink]="getAccountUrl()" title="View account" i18n-title> <a [routerLink]="getAccountUrl()" title="View account" i18n-title>
<img class="account-avatar" [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" /> <img class="account-avatar" [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
@ -101,15 +103,11 @@
</div> </div>
<div class="owner-card"> <div class="owner-card">
<div class="section-label" i18n>OWNER ACCOUNT</div>
<ng-template *ngTemplateOutlet="ownerTemplate"></ng-template> <ng-template *ngTemplateOutlet="ownerTemplate"></ng-template>
</div> </div>
</div> </div>
<div class="bottom-owner"> <div class="bottom-owner">
<div class="section-label" i18n>OWNER ACCOUNT</div>
<ng-template *ngTemplateOutlet="ownerTemplate"></ng-template> <ng-template *ngTemplateOutlet="ownerTemplate"></ng-template>
</div> </div>

View File

@ -43,7 +43,6 @@
background-color: pvar(--channelBackgroundColor); background-color: pvar(--channelBackgroundColor);
margin-bottom: 45px; margin-bottom: 45px;
padding-top: var(--myGlobalTopPadding); padding-top: var(--myGlobalTopPadding);
padding-bottom: var(--myGlobalTopPadding);
font-size: var(--myFontSize); font-size: var(--myFontSize);
} }
@ -58,6 +57,7 @@
.channel-description { .channel-description {
grid-column: 1; grid-column: 1;
word-break: break-word; word-break: break-word;
padding-bottom: var(--myGlobalTopPadding);
} }
.show-more { .show-more {