diff --git a/packages/person-profile/src/person-profile-demo.js b/packages/person-profile/src/person-profile-demo.js index 275da46280d3890d70a4456407e15bdf8b8a0633..45ad1642466432b48257916d99f0b7783e96ab2d 100644 --- a/packages/person-profile/src/person-profile-demo.js +++ b/packages/person-profile/src/person-profile-demo.js @@ -1,5 +1,5 @@ import {i18n} from './i18n.js'; -import {html, LitElement} from 'lit-element'; +import {css, html, LitElement} from 'lit-element'; import VPULitElement from 'vpu-common/vpu-lit-element'; import './person-profile.js'; import * as commonUtils from 'vpu-common/utils'; @@ -44,6 +44,14 @@ class PersonProfileDemo extends VPULitElement { }); } + static get styles() { + // language=css + return css` + h1.title {margin-bottom: 1em;} + div.container {margin-bottom: 1.5em;} + `; + } + getAuthComponentHtml() { return this.noAuth ? html`` : html` <header>