Use separate file for plugin placeholder component

pull/4105/head^2
Chocobozzz 2021-05-27 16:32:06 +02:00
parent 8e5c2fdc33
commit 94fbe5c49c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
div {
height: 100%;
}

View File

@ -4,7 +4,7 @@ import { PluginElementPlaceholder } from '@shared/models'
@Component({ @Component({
selector: 'my-plugin-placeholder', selector: 'my-plugin-placeholder',
template: '<div [id]="getId()"></div>', template: '<div [id]="getId()"></div>',
styles: [ 'div { height: 100%; }' ] styleUrls: [ './plugin-placeholder.component.scss' ]
}) })
export class PluginPlaceholderComponent { export class PluginPlaceholderComponent {