fix: add animation for content part in Windows platform without Mica popups

This commit is contained in:
mr. M
2025-04-02 16:23:57 +02:00
parent 6a14f85d22
commit a0f5101ac5

View File

@@ -7,7 +7,8 @@ panel[type='arrow'][animate='open'] {
@media (-moz-platform: macos) {
animation: zen-jello-animation-macos 0.4s ease-out;
}
@media (-moz-platform: linux) {
@media (-moz-platform: linux) or ((-moz-platform: windows) and (not (-moz-windows-mica-popups))) {
/* Mica popups have a weird background while the animation is running */
&::part(content) {
animation: zen-jello-animation 0.35s ease;
}