CSS changes for Safari & cleanups

This commit is contained in:
Dermot Duffy
2021-09-21 12:47:15 -07:00
parent d02f760793
commit 4ac69a951c
4 changed files with 29 additions and 32 deletions
+12
View File
@@ -50,6 +50,10 @@ export class FrigateCardViewer extends LitElement {
>
</frigate-card-live-jsmpeg>`}`;
}
static get styles(): CSSResultGroup {
return unsafeCSS(liveStyle);
}
}
@customElement('frigate-card-live-frigate')
@@ -72,6 +76,10 @@ export class FrigateCardViewerFrigate extends LitElement {
>
</ha-camera-stream>`;
}
static get styles(): CSSResultGroup {
return unsafeCSS(liveStyle);
}
}
// Create a wrapper for the WebRTC element
@@ -110,6 +118,10 @@ export class FrigateCardViewerWebRTC extends LitElement {
}
return html`${this._webRTCElement}`;
}
static get styles(): CSSResultGroup {
return unsafeCSS(liveStyle);
}
}
@customElement('frigate-card-live-jsmpeg')