spot: optimize CSS containment for improved performance

This commit is contained in:
nick-delirium 2024-08-30 16:18:25 +02:00
parent 924547f551
commit 7ab35cd7c8
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -6,7 +6,6 @@
:host {
all: initial;
contain: content; /* Boom. CSS containment FTW. */
}
@ -33,6 +32,10 @@
width: 100%;
}
.save-controls {
contain: content;
}
.container {
background-color: rgba(0, 0, 0, 0.8);
display: flex;
@ -299,7 +302,7 @@ textarea {
left: 45%;
transform: translateX(-50%);
z-index: 999999;
contain: content;
}
.popupanimated {