aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+video-channels
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+video-channels')
-rw-r--r--client/src/app/+video-channels/video-channels.component.html4
-rw-r--r--client/src/app/+video-channels/video-channels.component.scss4
2 files changed, 8 insertions, 0 deletions
diff --git a/client/src/app/+video-channels/video-channels.component.html b/client/src/app/+video-channels/video-channels.component.html
index 87e1b294b..1312a1b3c 100644
--- a/client/src/app/+video-channels/video-channels.component.html
+++ b/client/src/app/+video-channels/video-channels.component.html
@@ -1,4 +1,8 @@
1<div class="root" *ngIf="videoChannel"> 1<div class="root" *ngIf="videoChannel">
2 <div class="banner" *ngIf="videoChannel.bannerUrl">
3 <img [src]="videoChannel.bannerUrl" alt="Channel banner">
4 </div>
5
2 <div class="channel-info"> 6 <div class="channel-info">
3 7
4 <ng-template #buttonsTemplate> 8 <ng-template #buttonsTemplate>
diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss
index 12f5b9f3e..b19b4c81b 100644
--- a/client/src/app/+video-channels/video-channels.component.scss
+++ b/client/src/app/+video-channels/video-channels.component.scss
@@ -11,6 +11,10 @@
11 --myGreyOwnerFontSize: 14px; 11 --myGreyOwnerFontSize: 14px;
12} 12}
13 13
14.banner {
15 @include block-ratio('img', $banner-inverted-ratio);
16}
17
14.section-label { 18.section-label {
15 @include section-label-responsive; 19 @include section-label-responsive;
16} 20}