spot: optimize CSS containment for improved performance
This commit is contained in:
parent
924547f551
commit
7ab35cd7c8
1 changed files with 5 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue