From 93c728a25a87cf6dae5fc49d42d6af52ff7f7ff2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 13 Jun 2022 10:14:03 +0200 Subject: Replace all glyphicon icons --- client/src/app/shared/shared-icons/global-icon.component.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/src/app/shared/shared-icons') diff --git a/client/src/app/shared/shared-icons/global-icon.component.ts b/client/src/app/shared/shared-icons/global-icon.component.ts index 43c407743..8b864fd5f 100644 --- a/client/src/app/shared/shared-icons/global-icon.component.ts +++ b/client/src/app/shared/shared-icons/global-icon.component.ts @@ -91,6 +91,7 @@ export type GlobalIconName = keyof typeof icons }) export class GlobalIconComponent implements OnInit { @Input() iconName: GlobalIconName + @Input() width: string constructor ( private el: ElementRef, @@ -106,6 +107,10 @@ export class GlobalIconComponent implements OnInit { 'filter:internal.common.svg-icons.get-content.params', 'filter:internal.common.svg-icons.get-content.result' ) + + if (this.width) { + nativeElement.style.width = this.width + } } private getSVGContent (options: { name: string }) { -- cgit v1.2.3