From 94fbe5c49cf283057d87fce1e9338d0150f239e2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 27 May 2021 16:32:06 +0200 Subject: [PATCH] Use separate file for plugin placeholder component --- .../shared-main/plugins/plugin-placeholder.component.scss | 3 +++ .../shared/shared-main/plugins/plugin-placeholder.component.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 client/src/app/shared/shared-main/plugins/plugin-placeholder.component.scss diff --git a/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.scss b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.scss new file mode 100644 index 000000000..4e37c5e61 --- /dev/null +++ b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.scss @@ -0,0 +1,3 @@ +div { + height: 100%; +} diff --git a/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts index 4d5381e8d..858eff9ba 100644 --- a/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts +++ b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts @@ -4,7 +4,7 @@ import { PluginElementPlaceholder } from '@shared/models' @Component({ selector: 'my-plugin-placeholder', template: '
', - styles: [ 'div { height: 100%; }' ] + styleUrls: [ './plugin-placeholder.component.scss' ] }) export class PluginPlaceholderComponent {