1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Fix privacy warning position on mobile

This commit is contained in:
Chocobozzz 2019-04-15 09:43:23 +02:00
parent f3d2e6d082
commit 28e0e40d2b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
6 changed files with 23 additions and 7 deletions

View file

@ -1,4 +1,4 @@
import { Component, ElementRef, Input, OnInit } from '@angular/core'
import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core'
const icons = {
'add': require('../../../assets/images/global/add.html'),
@ -53,7 +53,8 @@ export type GlobalIconName = keyof typeof icons
@Component({
selector: 'my-global-icon',
template: '',
styleUrls: [ './global-icon.component.scss' ]
styleUrls: [ './global-icon.component.scss' ],
changeDetection: ChangeDetectionStrategy.OnPush
})
export class GlobalIconComponent implements OnInit {
@Input() iconName: GlobalIconName