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:
parent
f3d2e6d082
commit
28e0e40d2b
6 changed files with 23 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue