diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-02 13:46:09 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-02 13:46:09 +0200 |
commit | 4428ad543e0c717eb7edb27003b9d9a52c616d5d (patch) | |
tree | 950f225b265b9a523509afc5e9961fb5c07523e1 /client/src/app/+video-channels | |
parent | 252e16e158d7a1e192126802d0ec32208f8f80be (diff) | |
download | PeerTube-4428ad543e0c717eb7edb27003b9d9a52c616d5d.tar.gz PeerTube-4428ad543e0c717eb7edb27003b9d9a52c616d5d.tar.zst PeerTube-4428ad543e0c717eb7edb27003b9d9a52c616d5d.zip |
Fix avatar responsive
Diffstat (limited to 'client/src/app/+video-channels')
-rw-r--r-- | client/src/app/+video-channels/video-channels.component.html | 4 | ||||
-rw-r--r-- | client/src/app/+video-channels/video-channels.component.scss | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/client/src/app/+video-channels/video-channels.component.html b/client/src/app/+video-channels/video-channels.component.html index 09f81d2ce..212e2f867 100644 --- a/client/src/app/+video-channels/video-channels.component.html +++ b/client/src/app/+video-channels/video-channels.component.html | |||
@@ -23,7 +23,7 @@ | |||
23 | <div class="section-label" i18n>OWNER ACCOUNT</div> | 23 | <div class="section-label" i18n>OWNER ACCOUNT</div> |
24 | 24 | ||
25 | <div class="avatar-row"> | 25 | <div class="avatar-row"> |
26 | <my-actor-avatar class="account-avatar" [account]="ownerAccount" [internalHref]="getAccountUrl()" size="48"></my-actor-avatar> | 26 | <my-actor-avatar class="account-avatar" [account]="ownerAccount" [internalHref]="getAccountUrl()"></my-actor-avatar> |
27 | 27 | ||
28 | <div class="actor-info"> | 28 | <div class="actor-info"> |
29 | <h4> | 29 | <h4> |
@@ -51,7 +51,7 @@ | |||
51 | </ng-template> | 51 | </ng-template> |
52 | 52 | ||
53 | <div class="channel-avatar-row"> | 53 | <div class="channel-avatar-row"> |
54 | <my-actor-avatar class="main-avatar" [channel]="videoChannel" size="120"></my-actor-avatar> | 54 | <my-actor-avatar class="main-avatar" [channel]="videoChannel"></my-actor-avatar> |
55 | 55 | ||
56 | <div> | 56 | <div> |
57 | <div class="section-label" i18n>VIDEO CHANNEL</div> | 57 | <div class="section-label" i18n>VIDEO CHANNEL</div> |
diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss index 004ad7998..c00dacae5 100644 --- a/client/src/app/+video-channels/video-channels.component.scss +++ b/client/src/app/+video-channels/video-channels.component.scss | |||
@@ -124,6 +124,10 @@ | |||
124 | font-size: var(--myGreyOwnerFontSize); | 124 | font-size: var(--myGreyOwnerFontSize); |
125 | color: pvar(--greyForegroundColor); | 125 | color: pvar(--greyForegroundColor); |
126 | } | 126 | } |
127 | |||
128 | .account-avatar { | ||
129 | @include actor-avatar-size(48px); | ||
130 | } | ||
127 | } | 131 | } |
128 | 132 | ||
129 | .owner-description { | 133 | .owner-description { |