diff --git a/src/patches/ha-camera-stream.ts b/src/patches/ha-camera-stream.ts index 516f4a2c..e0afa4fc 100644 --- a/src/patches/ha-camera-stream.ts +++ b/src/patches/ha-camera-stream.ts @@ -141,6 +141,11 @@ customElements.whenDefined('ha-camera-stream').then(() => { width: 100%; height: 100%; } + img { + width: 100%; + height: 100%; + object-fit: contain; + } `, ]; }