aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-27 16:32:06 +0200
committerChocobozzz <me@florianbigard.com>2021-05-27 16:32:06 +0200
commit94fbe5c49cf283057d87fce1e9338d0150f239e2 (patch)
treefc0ef4f085c1c09bcc0cae0224e0ec7ed915eec0
parent8e5c2fdc335107533e7cad0fb724e4a0283249c3 (diff)
downloadPeerTube-94fbe5c49cf283057d87fce1e9338d0150f239e2.tar.gz
PeerTube-94fbe5c49cf283057d87fce1e9338d0150f239e2.tar.zst
PeerTube-94fbe5c49cf283057d87fce1e9338d0150f239e2.zip
Use separate file for plugin placeholder component
-rw-r--r--client/src/app/shared/shared-main/plugins/plugin-placeholder.component.scss3
-rw-r--r--client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts2
2 files changed, 4 insertions, 1 deletions
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 @@
1div {
2 height: 100%;
3}
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'
4@Component({ 4@Component({
5 selector: 'my-plugin-placeholder', 5 selector: 'my-plugin-placeholder',
6 template: '<div [id]="getId()"></div>', 6 template: '<div [id]="getId()"></div>',
7 styles: [ 'div { height: 100%; }' ] 7 styleUrls: [ './plugin-placeholder.component.scss' ]
8}) 8})
9 9
10export class PluginPlaceholderComponent { 10export class PluginPlaceholderComponent {