fix: improve performance of animations

This commit is contained in:
sethburkart123
2024-06-14 16:47:47 +10:00
parent 8c0e8652b0
commit 97bdb4ddd6
2 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -32,6 +32,8 @@
#ExtensionPopup {
border-radius: 1rem;
box-shadow: 0px 0px 20px -2px rgba(0, 0, 0, 0.6);
filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.6));
transform-origin: 70% 0;
will-change: opacity, transform;
transform: translateZ(0); // promotes GPU rendering
}