CSS changes for Safari & cleanups
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user