Skip to content

Commit 961942a

Browse files
committed
Style update in the demo app
1 parent c5e7b33 commit 961942a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

demo/app-root.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { html, LitElement, customElement } from 'lit-element';
1+
import { html, css, LitElement, customElement } from 'lit-element';
22
import '../src/your-webcomponent';
33

44
@customElement('app-root')
@@ -10,4 +10,10 @@ export class AppRoot extends LitElement {
1010
</your-webcomponent>
1111
`;
1212
}
13+
14+
static styles = css`
15+
:host {
16+
display: block;
17+
}
18+
`;
1319
}

0 commit comments

Comments
 (0)