aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-13 15:54:47 +0200
committerChocobozzz <me@florianbigard.com>2021-04-13 15:57:05 +0200
commit1748e92aaa57623b24d71c47e18e7b7224821cd4 (patch)
tree71fb100e0615819f3b5ff4fc365aa5889bd3b692
parentace396c4e0d65362fd8b82c86e88085622927b43 (diff)
downloadPeerTube-1748e92aaa57623b24d71c47e18e7b7224821cd4.tar.gz
PeerTube-1748e92aaa57623b24d71c47e18e7b7224821cd4.tar.zst
PeerTube-1748e92aaa57623b24d71c47e18e7b7224821cd4.zip
Put "owner account" in card
Just a test
-rw-r--r--client/src/app/+video-channels/video-channels.component.html6
-rw-r--r--client/src/app/+video-channels/video-channels.component.scss2
2 files changed, 3 insertions, 5 deletions
diff --git a/client/src/app/+video-channels/video-channels.component.html b/client/src/app/+video-channels/video-channels.component.html
index 91db820fc..b058a8185 100644
--- a/client/src/app/+video-channels/video-channels.component.html
+++ b/client/src/app/+video-channels/video-channels.component.html
@@ -20,6 +20,8 @@
20 20
21 <ng-template #ownerTemplate> 21 <ng-template #ownerTemplate>
22 <div class="owner-block"> 22 <div class="owner-block">
23 <div class="section-label" i18n>OWNER ACCOUNT</div>
24
23 <div class="avatar-row"> 25 <div class="avatar-row">
24 <a [routerLink]="getAccountUrl()" title="View account" i18n-title> 26 <a [routerLink]="getAccountUrl()" title="View account" i18n-title>
25 <img class="account-avatar" [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" /> 27 <img class="account-avatar" [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
@@ -101,15 +103,11 @@
101 </div> 103 </div>
102 104
103 <div class="owner-card"> 105 <div class="owner-card">
104 <div class="section-label" i18n>OWNER ACCOUNT</div>
105
106 <ng-template *ngTemplateOutlet="ownerTemplate"></ng-template> 106 <ng-template *ngTemplateOutlet="ownerTemplate"></ng-template>
107 </div> 107 </div>
108 </div> 108 </div>
109 109
110 <div class="bottom-owner"> 110 <div class="bottom-owner">
111 <div class="section-label" i18n>OWNER ACCOUNT</div>
112
113 <ng-template *ngTemplateOutlet="ownerTemplate"></ng-template> 111 <ng-template *ngTemplateOutlet="ownerTemplate"></ng-template>
114 </div> 112 </div>
115 113
diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss
index 112ec1c22..e946707ef 100644
--- a/client/src/app/+video-channels/video-channels.component.scss
+++ b/client/src/app/+video-channels/video-channels.component.scss
@@ -43,7 +43,6 @@
43 background-color: pvar(--channelBackgroundColor); 43 background-color: pvar(--channelBackgroundColor);
44 margin-bottom: 45px; 44 margin-bottom: 45px;
45 padding-top: var(--myGlobalTopPadding); 45 padding-top: var(--myGlobalTopPadding);
46 padding-bottom: var(--myGlobalTopPadding);
47 font-size: var(--myFontSize); 46 font-size: var(--myFontSize);
48} 47}
49 48
@@ -58,6 +57,7 @@
58.channel-description { 57.channel-description {
59 grid-column: 1; 58 grid-column: 1;
60 word-break: break-word; 59 word-break: break-word;
60 padding-bottom: var(--myGlobalTopPadding);
61} 61}
62 62
63.show-more { 63.show-more {