Fit image content to parent size.
This commit is contained in:
1 parent
bae67d70b2
commit
45c29d2aaf
1 file changed
+5
@@ -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;
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user