-
\ No newline at end of file
diff --git a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.scss b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.scss
index 0bda13b8..79912657 100644
--- a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.scss
+++ b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.scss
@@ -35,3 +35,10 @@
.monospace {
font-family: monospace, monospace;
}
+
+.icon {
+ // center
+ margin: auto;
+
+ align-items: center;
+}
\ No newline at end of file
diff --git a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.ts b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.ts
index 886d2ee3..b29a31a0 100644
--- a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.ts
+++ b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.component.ts
@@ -1,4 +1,9 @@
-import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
+import {
+ ChangeDetectionStrategy,
+ Component,
+ Input
+} from '@angular/core';
+
/**
* UI ONLY COMPONENT
@@ -12,6 +17,9 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
export class LabelValueShowcaseComponent {
@Input()
label: string;
+
+ @Input()
+ icon?: string;
@Input()
bigText = true;
diff --git a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module.ts b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module.ts
index e8a5020f..dffa745f 100644
--- a/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module.ts
+++ b/src/app/shared-interproject/components/@visual/label-value-showcase/label-value-showcase.module.ts
@@ -2,13 +2,16 @@ import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FlexLayoutModule } from '@angular/flex-layout';
import { LabelValueShowcaseComponent } from './label-value-showcase.component';
+import { MatIcon } from "@angular/material/icon";
+
@NgModule({
declarations: [LabelValueShowcaseComponent],
exports: [LabelValueShowcaseComponent],
- imports: [
+ imports: [
CommonModule,
- FlexLayoutModule
+ FlexLayoutModule,
+ MatIcon
]
})
export class LabelValueShowcaseModule {}
diff --git a/src/app/style/tools.scss b/src/app/style/tools.scss
index 6980a935..00fb5d75 100644
--- a/src/app/style/tools.scss
+++ b/src/app/style/tools.scss
@@ -31,6 +31,14 @@
-webkit-box-orient: horizontal;
}
+.fixed-width12 {
+ flex: 0 0 12rem;
+}
+
+.fixed-width16 {
+ flex: 0 0 16rem;
+}
+
//breakpoint mediaQuery
//xs 'screen and (max-width: 599px)'
//sm 'screen and (min-width: 600px) and (max-width: 959px)'