diff options
Diffstat (limited to 'client/src/app/+videos')
3 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.scss b/client/src/app/+videos/+video-edit/shared/video-edit.component.scss index 3082a4f72..c2fbb46f9 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.scss +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.scss | |||
@@ -150,12 +150,11 @@ p-calendar { | |||
150 | display: block; | 150 | display: block; |
151 | 151 | ||
152 | ::ng-deep { | 152 | ::ng-deep { |
153 | input, | 153 | .p-calendar { |
154 | .ui-calendar { | ||
155 | width: 100%; | 154 | width: 100%; |
156 | } | 155 | } |
157 | 156 | ||
158 | input { | 157 | .p-inputtext { |
159 | @include peertube-input-text(100%); | 158 | @include peertube-input-text(100%); |
160 | color: #000; | 159 | color: #000; |
161 | } | 160 | } |
diff --git a/client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts b/client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts index 259afb196..1417f3e2a 100644 --- a/client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts +++ b/client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import { InputSwitchModule } from 'primeng/inputswitch' | 1 | |
2 | import { CommonModule } from '@angular/common' | 2 | import { CommonModule } from '@angular/common' |
3 | import { NgModule } from '@angular/core' | 3 | import { NgModule } from '@angular/core' |
4 | import { SharedFormModule } from '@app/shared/shared-forms' | ||
4 | import { SharedMainModule } from '@app/shared/shared-main' | 5 | import { SharedMainModule } from '@app/shared/shared-main' |
5 | import { SharedSearchModule } from '@app/shared/shared-search' | 6 | import { SharedSearchModule } from '@app/shared/shared-search' |
6 | import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' | 7 | import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' |
@@ -12,12 +13,12 @@ import { RecommendedVideosStore } from './recommended-videos.store' | |||
12 | @NgModule({ | 13 | @NgModule({ |
13 | imports: [ | 14 | imports: [ |
14 | CommonModule, | 15 | CommonModule, |
15 | InputSwitchModule, | ||
16 | 16 | ||
17 | SharedMainModule, | 17 | SharedMainModule, |
18 | SharedSearchModule, | 18 | SharedSearchModule, |
19 | SharedVideoPlaylistModule, | 19 | SharedVideoPlaylistModule, |
20 | SharedVideoMiniatureModule | 20 | SharedVideoMiniatureModule, |
21 | SharedFormModule | ||
21 | ], | 22 | ], |
22 | declarations: [ | 23 | declarations: [ |
23 | RecommendedVideosComponent | 24 | RecommendedVideosComponent |
diff --git a/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.html b/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.html index 1ab1b7343..3c7c679b8 100644 --- a/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.html +++ b/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.html | |||
@@ -8,7 +8,7 @@ | |||
8 | [ngbTooltip]="autoPlayNextVideoTooltip" placement="bottom-right auto" | 8 | [ngbTooltip]="autoPlayNextVideoTooltip" placement="bottom-right auto" |
9 | > | 9 | > |
10 | <span i18n>AUTOPLAY</span> | 10 | <span i18n>AUTOPLAY</span> |
11 | <p-inputSwitch class="small" [(ngModel)]="autoPlayNextVideo" (ngModelChange)="switchAutoPlayNextVideo()"></p-inputSwitch> | 11 | <my-input-switch class="small" [(ngModel)]="autoPlayNextVideo" (ngModelChange)="switchAutoPlayNextVideo()"></my-input-switch> |
12 | </div> | 12 | </div> |
13 | </div> | 13 | </div> |
14 | 14 | ||