aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/images
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-15 09:43:23 +0200
committerChocobozzz <me@florianbigard.com>2019-04-15 09:43:23 +0200
commit28e0e40d2b301f109a4dd20a5be1f0b58e8201ad (patch)
treefbaaf3d2de16d14c61a4d746de9326ca3a9b71c6 /client/src/app/shared/images
parentf3d2e6d0826e39611a5fba91677fe56c93c83d90 (diff)
downloadPeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.tar.gz
PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.tar.zst
PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.zip
Fix privacy warning position on mobile
Diffstat (limited to 'client/src/app/shared/images')
-rw-r--r--client/src/app/shared/images/global-icon.component.ts5
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 @@
1import { Component, ElementRef, Input, OnInit } from '@angular/core' 1import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core'
2 2
3const icons = { 3const 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})
58export class GlobalIconComponent implements OnInit { 59export class GlobalIconComponent implements OnInit {
59 @Input() iconName: GlobalIconName 60 @Input() iconName: GlobalIconName