diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-16 16:10:12 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-16 16:16:51 +0200 |
commit | c4a051712bc7385967a21895d025962e317c7870 (patch) | |
tree | 59017cae7a6bff45216694dc44a65f72e9ad48c2 /client/src/app/+videos/+video-watch/shared/recommendations | |
parent | ef2b5520f963deec43abd0a11881473c45965788 (diff) | |
download | PeerTube-c4a051712bc7385967a21895d025962e317c7870.tar.gz PeerTube-c4a051712bc7385967a21895d025962e317c7870.tar.zst PeerTube-c4a051712bc7385967a21895d025962e317c7870.zip |
Cleanup title-page CSS
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/recommendations')
2 files changed, 4 insertions, 9 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.html b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.html index e493ad8d7..5ac801622 100644 --- a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.html +++ b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.html | |||
@@ -1,9 +1,8 @@ | |||
1 | <div class="other-videos" [ngClass]="{ 'display-as-row': displayAsRow }"> | 1 | <div class="other-videos" [ngClass]="{ 'display-as-row': displayAsRow }"> |
2 | <ng-container *ngIf="hasVideos$ | async"> | 2 | <ng-container *ngIf="hasVideos$ | async"> |
3 | <div class="title-page-container"> | 3 | <div class="title-page-container"> |
4 | <h2 i18n class="title-page title-page-single"> | 4 | <h2 i18n class="title-page">Other videos</h2> |
5 | Other videos | 5 | |
6 | </h2> | ||
7 | <div *ngIf="!playlist" class="title-page-autoplay" | 6 | <div *ngIf="!playlist" class="title-page-autoplay" |
8 | [ngbTooltip]="autoPlayNextVideoTooltip" placement="bottom-right auto" | 7 | [ngbTooltip]="autoPlayNextVideoTooltip" placement="bottom-right auto" |
9 | > | 8 | > |
diff --git a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.scss b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.scss index 784d0e961..5b1bf9cab 100644 --- a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.scss +++ b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.scss | |||
@@ -8,18 +8,14 @@ | |||
8 | margin-bottom: 25px; | 8 | margin-bottom: 25px; |
9 | flex-wrap: wrap-reverse; | 9 | flex-wrap: wrap-reverse; |
10 | 10 | ||
11 | .title-page.active, | 11 | .title-page { |
12 | .title-page.title-page-single { | ||
13 | @include margin-right(.5rem !important); | 12 | @include margin-right(.5rem !important); |
14 | 13 | ||
15 | margin-bottom: unset; | 14 | margin-bottom: unset; |
15 | margin-top: 0; | ||
16 | } | 16 | } |
17 | } | 17 | } |
18 | 18 | ||
19 | .title-page { | ||
20 | margin-top: 0; | ||
21 | } | ||
22 | |||
23 | .title-page-autoplay { | 19 | .title-page-autoplay { |
24 | @include margin-left(auto); | 20 | @include margin-left(auto); |
25 | 21 | ||