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 --- .../+video-channels/video-channels.component.html | 20 ++++++++++---------- .../+video-channels/video-channels.component.scss | 8 ++++---- .../src/app/+video-channels/video-channels.module.ts | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) (limited to 'client/src/app/+video-channels') diff --git a/client/src/app/+video-channels/video-channels.component.html b/client/src/app/+video-channels/video-channels.component.html index 9308d5bb6..b4d81fe39 100644 --- a/client/src/app/+video-channels/video-channels.component.html +++ b/client/src/app/+video-channels/video-channels.component.html @@ -6,16 +6,16 @@
- - Manage channel - + + Manage channel + - + - + @@ -23,7 +23,7 @@
- +

@@ -49,7 +49,7 @@
- Avatar +
diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss index e946707ef..360a99342 100644 --- a/client/src/app/+video-channels/video-channels.component.scss +++ b/client/src/app/+video-channels/video-channels.component.scss @@ -107,8 +107,8 @@ display: flex; margin-bottom: 15px; - img { - @include avatar(48px); + .account-avatar { + @include actor-avatar-size(48px); } .actor-info { @@ -289,8 +289,8 @@ margin-top: -5px; } - img { - @include channel-avatar(64px); + .account-avatar { + @include actor-avatar-size(64px); margin: -30px 0 0 15px; } diff --git a/client/src/app/+video-channels/video-channels.module.ts b/client/src/app/+video-channels/video-channels.module.ts index 2e387f401..35c39cc2e 100644 --- a/client/src/app/+video-channels/video-channels.module.ts +++ b/client/src/app/+video-channels/video-channels.module.ts @@ -10,7 +10,7 @@ import { VideoChannelPlaylistsComponent } from './video-channel-playlists/video- import { VideoChannelVideosComponent } from './video-channel-videos/video-channel-videos.component' import { VideoChannelsRoutingModule } from './video-channels-routing.module' import { VideoChannelsComponent } from './video-channels.component' -import { SharedAccountAvatarModule } from '../shared/shared-account-avatar/shared-account-avatar.module' +import { SharedActorImageModule } from '../shared/shared-actor-image/shared-actor-image.module' @NgModule({ imports: [ @@ -23,7 +23,7 @@ import { SharedAccountAvatarModule } from '../shared/shared-account-avatar/share SharedUserSubscriptionModule, SharedGlobalIconModule, SharedSupportModal, - SharedAccountAvatarModule + SharedActorImageModule ], declarations: [ -- cgit v1.2.3