diff options
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 | 4 | ||||
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.scss | 16 |
2 files changed, 7 insertions, 13 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 38293b070..e3b499773 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 | |||
@@ -16,7 +16,7 @@ | |||
16 | size="75" | 16 | size="75" |
17 | ></my-actor-avatar> | 17 | ></my-actor-avatar> |
18 | 18 | ||
19 | <h2> | 19 | <h2 class="fs-5 lh-1 fw-bold m-0"> |
20 | <a [routerLink]="getVideoChannelLink(videoChannel)" i18n-title title="See this video channel"> | 20 | <a [routerLink]="getVideoChannelLink(videoChannel)" i18n-title title="See this video channel"> |
21 | {{ videoChannel.displayName }} | 21 | {{ videoChannel.displayName }} |
22 | </a> | 22 | </a> |
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | <div class="videos-overflow-workaround"> | 40 | <div class="videos-overflow-workaround"> |
41 | <div class="videos"> | 41 | <div class="videos"> |
42 | <div class="no-results" i18n *ngIf="getTotalVideosOf(videoChannel) === 0">This channel doesn't have any videos.</div> | 42 | <div class="no-results h-auto" i18n *ngIf="getTotalVideosOf(videoChannel) === 0">This channel doesn't have any videos.</div> |
43 | 43 | ||
44 | <my-video-miniature | 44 | <my-video-miniature |
45 | *ngFor="let video of getVideosOf(videoChannel)" | 45 | *ngFor="let video of getVideosOf(videoChannel)" |
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 11ed4c3b1..2e34ed71c 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 | |||
@@ -8,11 +8,11 @@ | |||
8 | } | 8 | } |
9 | 9 | ||
10 | .channel { | 10 | .channel { |
11 | @include rfs(2rem, padding); | ||
12 | @include rfs(2rem 0, margin); | ||
13 | |||
11 | max-width: $max-channels-width; | 14 | max-width: $max-channels-width; |
12 | background-color: pvar(--channelBackgroundColor); | 15 | background-color: pvar(--channelBackgroundColor); |
13 | padding: 30px; | ||
14 | |||
15 | margin: 30px 0; | ||
16 | 16 | ||
17 | display: grid; | 17 | display: grid; |
18 | grid-template-columns: 1fr auto; | 18 | grid-template-columns: 1fr auto; |
@@ -44,10 +44,6 @@ | |||
44 | h2 { | 44 | h2 { |
45 | grid-row: 1; | 45 | grid-row: 1; |
46 | grid-column: 2; | 46 | grid-column: 2; |
47 | font-size: 20px; | ||
48 | line-height: 1; | ||
49 | font-weight: $font-bold; | ||
50 | margin: 0; | ||
51 | } | 47 | } |
52 | 48 | ||
53 | .actor-counters { | 49 | .actor-counters { |
@@ -87,13 +83,11 @@ my-subscribe-button { | |||
87 | max-width: $video-thumbnail-medium-width; | 83 | max-width: $video-thumbnail-medium-width; |
88 | } | 84 | } |
89 | 85 | ||
90 | .no-results { | ||
91 | height: auto; | ||
92 | } | ||
93 | } | 86 | } |
94 | 87 | ||
95 | .videos-overflow-workaround { | 88 | .videos-overflow-workaround { |
96 | margin-top: 30px; | 89 | @include margin-top(2rem); |
90 | |||
97 | overflow-x: hidden; | 91 | overflow-x: hidden; |
98 | } | 92 | } |
99 | 93 | ||