Fit image content to parent size.

This commit is contained in:
Dermot Duffy
2022-06-17 03:04:12 +00:00
parent bae67d70b2
commit 45c29d2aaf
+5
View File
@@ -141,6 +141,11 @@ customElements.whenDefined('ha-camera-stream').then(() => {
width: 100%;
height: 100%;
}
img {
width: 100%;
height: 100%;
object-fit: contain;
}
`,
];
}