fix(core): update

This commit is contained in:
2020-05-24 19:37:43 +00:00
parent 88ed2f294f
commit fdd6e38e0c
6 changed files with 153 additions and 89 deletions

View File

@ -19,6 +19,9 @@ export class WccProperties extends LitElement {
@property()
public selectedViewport = 'native';
@property()
public warning: string = null;
public render(): TemplateResult {
return html`
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
@ -98,6 +101,18 @@ export class WccProperties extends LitElement {
color: #333;
background: #fff;
}
.warning {
position: absolute;
background: #800000;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
text-align: center;
padding: 20px;
font-size: 25px;
}
</style>
<div class="grid">
<div class="properties">
@ -167,6 +182,9 @@ ${(() => {
</div>
<div class="docs">Docs</div>
</div>
${this.warning ? html`<div class="warning">
${this.warning}
</div>` : null}
`;
}