diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-15 09:43:23 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-15 09:43:23 +0200 |
commit | 28e0e40d2b301f109a4dd20a5be1f0b58e8201ad (patch) | |
tree | fbaaf3d2de16d14c61a4d746de9326ca3a9b71c6 /client/src/app/shared | |
parent | f3d2e6d0826e39611a5fba91677fe56c93c83d90 (diff) | |
download | PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.tar.gz PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.tar.zst PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.zip |
Fix privacy warning position on mobile
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/images/global-icon.component.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/shared/images/global-icon.component.ts b/client/src/app/shared/images/global-icon.component.ts index 03cf3d7ae..5a3db4531 100644 --- a/client/src/app/shared/images/global-icon.component.ts +++ b/client/src/app/shared/images/global-icon.component.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Component, ElementRef, Input, OnInit } from '@angular/core' | 1 | import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core' |
2 | 2 | ||
3 | const icons = { | 3 | const icons = { |
4 | 'add': require('../../../assets/images/global/add.html'), | 4 | 'add': require('../../../assets/images/global/add.html'), |
@@ -53,7 +53,8 @@ export type GlobalIconName = keyof typeof icons | |||
53 | @Component({ | 53 | @Component({ |
54 | selector: 'my-global-icon', | 54 | selector: 'my-global-icon', |
55 | template: '', | 55 | template: '', |
56 | styleUrls: [ './global-icon.component.scss' ] | 56 | styleUrls: [ './global-icon.component.scss' ], |
57 | changeDetection: ChangeDetectionStrategy.OnPush | ||
57 | }) | 58 | }) |
58 | export class GlobalIconComponent implements OnInit { | 59 | export class GlobalIconComponent implements OnInit { |
59 | @Input() iconName: GlobalIconName | 60 | @Input() iconName: GlobalIconName |