Fit image content to parent size.

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