Don't allow elements to overflow.
This commit is contained in:
@@ -1,6 +1,16 @@
|
|||||||
|
:host {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
|
||||||
|
// Don't let elements overflow.
|
||||||
|
overflow: hidden;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
.element {
|
.element {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
pointer-events: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Errors encountered by HA (not the card) during parsing of the configuration
|
// Errors encountered by HA (not the card) during parsing of the configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user