Merge pull request #431 from cvennevik/perf-modal-backdrop-filter

(performance) Remove backdrop-filter blur and saturate effects from modals
This commit is contained in:
Chee Aun 2024-03-03 17:16:29 +08:00 committed by GitHub
commit 0b4c720153
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,6 @@
justify-content: center;
align-items: center;
background-color: var(--backdrop-color);
backdrop-filter: blur(24px);
animation: appear 0.5s var(--timing-function) both;
}
#modal-container > div .sheet {
@ -19,7 +18,3 @@
#modal-container > div:has(~ div) .sheet {
transform: scale(0.975);
}
#modal-container > .light {
backdrop-filter: saturate(0.75);
}