Fit image content to parent size.
This commit is contained in:
@@ -141,6 +141,11 @@ customElements.whenDefined('ha-camera-stream').then(() => {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user