Don't allow elements to overflow.

This commit is contained in:
Dermot Duffy
2022-05-09 15:39:41 -07:00
parent 9c0072e100
commit 5d1fdf8e03
+10
View File
@@ -1,6 +1,16 @@
:host {
position: absolute;
inset: 0;
// Don't let elements overflow.
overflow: hidden;
pointer-events: none;
}
.element {
position: absolute;
transform: translate(-50%, -50%);
pointer-events: auto;
}
// Errors encountered by HA (not the card) during parsing of the configuration