diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/header/header.component.scss | 2 | ||||
-rw-r--r-- | client/src/app/shared/user-subscription/index.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/video-channel/video-channel.service.ts | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index d79e6274b..6ce92fc22 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss | |||
@@ -4,7 +4,7 @@ | |||
4 | #search-video { | 4 | #search-video { |
5 | @include peertube-input-text($search-input-width); | 5 | @include peertube-input-text($search-input-width); |
6 | margin-right: 15px; | 6 | margin-right: 15px; |
7 | padding-right: 25px; // For the search icon | 7 | padding-right: 40px; // For the search icon |
8 | 8 | ||
9 | &::placeholder { | 9 | &::placeholder { |
10 | color: #000; | 10 | color: #000; |
diff --git a/client/src/app/shared/user-subscription/index.ts b/client/src/app/shared/user-subscription/index.ts index 024b36a41..faddae66a 100644 --- a/client/src/app/shared/user-subscription/index.ts +++ b/client/src/app/shared/user-subscription/index.ts | |||
@@ -1,2 +1,2 @@ | |||
1 | export * from './user-subscription.service' | 1 | export * from './user-subscription.service' |
2 | export * from './subscribe-button.component' \ No newline at end of file | 2 | export * from './subscribe-button.component' |
diff --git a/client/src/app/shared/video-channel/video-channel.service.ts b/client/src/app/shared/video-channel/video-channel.service.ts index 46b121790..c94411146 100644 --- a/client/src/app/shared/video-channel/video-channel.service.ts +++ b/client/src/app/shared/video-channel/video-channel.service.ts | |||
@@ -17,11 +17,6 @@ export class VideoChannelService { | |||
17 | 17 | ||
18 | videoChannelLoaded = new ReplaySubject<VideoChannel>(1) | 18 | videoChannelLoaded = new ReplaySubject<VideoChannel>(1) |
19 | 19 | ||
20 | constructor ( | ||
21 | private authHttp: HttpClient, | ||
22 | private restExtractor: RestExtractor | ||
23 | ) {} | ||
24 | |||
25 | static extractVideoChannels (result: ResultList<VideoChannelServer>) { | 20 | static extractVideoChannels (result: ResultList<VideoChannelServer>) { |
26 | const videoChannels: VideoChannel[] = [] | 21 | const videoChannels: VideoChannel[] = [] |
27 | 22 | ||
@@ -32,6 +27,11 @@ export class VideoChannelService { | |||
32 | return { data: videoChannels, total: result.total } | 27 | return { data: videoChannels, total: result.total } |
33 | } | 28 | } |
34 | 29 | ||
30 | constructor ( | ||
31 | private authHttp: HttpClient, | ||
32 | private restExtractor: RestExtractor | ||
33 | ) { } | ||
34 | |||
35 | getVideoChannel (videoChannelName: string) { | 35 | getVideoChannel (videoChannelName: string) { |
36 | return this.authHttp.get<VideoChannel>(VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannelName) | 36 | return this.authHttp.get<VideoChannel>(VideoChannelService.BASE_VIDEO_CHANNEL_URL + videoChannelName) |
37 | .pipe( | 37 | .pipe( |