From 746018f6b81b40e8858303662ac9ec5ce59ac6eb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 28 Apr 2021 11:49:34 +0200 Subject: Refactor actor avatar display --- .../+my-library/+my-video-channels/my-video-channels.component.html | 4 +--- .../+my-library/+my-video-channels/my-video-channels.component.scss | 4 ++-- .../app/+my-library/+my-video-channels/my-video-channels.module.ts | 4 +++- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'client/src/app/+my-library/+my-video-channels') diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html index b704a1cc6..a2bdfa31a 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html @@ -22,9 +22,7 @@
- - Avatar - +
diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss index 8804fa95c..dafba925e 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss @@ -20,8 +20,8 @@ input[type=text] { padding-bottom: 0; - img { - @include channel-avatar(80px); + my-actor-avatar { + @include actor-avatar-size(80px); margin-right: 10px; } diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.module.ts b/client/src/app/+my-library/+my-video-channels/my-video-channels.module.ts index a23b53ee0..c775bfdee 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.module.ts +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.module.ts @@ -8,6 +8,7 @@ import { MyVideoChannelCreateComponent } from './my-video-channel-create.compone import { MyVideoChannelUpdateComponent } from './my-video-channel-update.component' import { MyVideoChannelsRoutingModule } from './my-video-channels-routing.module' import { MyVideoChannelsComponent } from './my-video-channels.component' +import { SharedActorImageModule } from '@app/shared/shared-actor-image/shared-actor-image.module' @NgModule({ imports: [ @@ -18,7 +19,8 @@ import { MyVideoChannelsComponent } from './my-video-channels.component' SharedMainModule, SharedFormModule, SharedGlobalIconModule, - SharedActorImageEditModule + SharedActorImageEditModule, + SharedActorImageModule ], declarations: [ -- cgit v1.2.3