diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-31 08:59:52 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-03-31 09:05:51 +0200 |
commit | 733dbc535d5fecdaba9e05feb8923bc754920525 (patch) | |
tree | adbf03df41ee05b3108ab9ad36ebc5622fd37f1d /client/src/app/+accounts/account-video-channels | |
parent | c8e80d1461076b36c93197a350ba9595110f65d6 (diff) | |
download | PeerTube-733dbc535d5fecdaba9e05feb8923bc754920525.tar.gz PeerTube-733dbc535d5fecdaba9e05feb8923bc754920525.tar.zst PeerTube-733dbc535d5fecdaba9e05feb8923bc754920525.zip |
Channel/account page redesign feedbacks
Fix owner default avatar
Semi bold orange inverted button
Max width account description
Increase account's channels padding
Use owner avatar/display name links
Move "view owner account" link on mobile
Try to always display channel in video miniatures
Add small border radius for channel's avatar
Use main foreground color for the magnifying glass
Diffstat (limited to 'client/src/app/+accounts/account-video-channels')
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.html | 2 | ||||
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.scss | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html index 0b22e7526..19a4b3c9c 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html | |||
@@ -22,7 +22,7 @@ | |||
22 | <div class="followers" i18n>{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div> | 22 | <div class="followers" i18n>{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div> |
23 | 23 | ||
24 | <span class="videos-count" *ngIf="getTotalVideosOf(videoChannel) !== undefined" i18n> | 24 | <span class="videos-count" *ngIf="getTotalVideosOf(videoChannel) !== undefined" i18n> |
25 | {getTotalVideosOf(videoChannel), splural, =1 {1 videos} other {{{ getTotalVideosOf(videoChannel) }} videos}} | 25 | {getTotalVideosOf(videoChannel), plural, =1 {1 videos} other {{{ getTotalVideosOf(videoChannel) }} videos}} |
26 | </span> | 26 | </span> |
27 | </div> | 27 | </div> |
28 | 28 | ||
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss index ca4c35cb4..8f1e9deb5 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss | |||
@@ -9,7 +9,7 @@ | |||
9 | .channel { | 9 | .channel { |
10 | max-width: $max-channels-width; | 10 | max-width: $max-channels-width; |
11 | background-color: pvar(--channelBackgroundColor); | 11 | background-color: pvar(--channelBackgroundColor); |
12 | padding: 15px; | 12 | padding: 30px; |
13 | 13 | ||
14 | margin: 30px 0; | 14 | margin: 30px 0; |
15 | 15 | ||
@@ -120,6 +120,10 @@ my-subscribe-button { | |||
120 | } | 120 | } |
121 | 121 | ||
122 | @media screen and (max-width: $mobile-view) { | 122 | @media screen and (max-width: $mobile-view) { |
123 | .channel { | ||
124 | padding: 15px; | ||
125 | } | ||
126 | |||
123 | .channel-avatar-row { | 127 | .channel-avatar-row { |
124 | grid-template-columns: auto auto auto 1fr; | 128 | grid-template-columns: auto auto auto 1fr; |
125 | 129 | ||