perf: Fixed performance for media controls label, b=no-bug, c=media

This commit is contained in:
Mr. M
2025-10-08 12:49:18 +02:00
parent 00a70c11a7
commit 0c5a2aa96d

View File

@@ -108,6 +108,10 @@
transform: translateY(0) !important;
pointer-events: auto;
}
& #zen-media-info-vbox label[overflow] {
animation: zen-back-and-forth-text 10s infinite ease-in-out;
}
}
& #zen-media-focus-button::after {
@@ -255,10 +259,6 @@
margin-left: 0;
font-weight: 500;
position: relative; /* For the animation */
&[overflow] {
animation: zen-back-and-forth-text 10s infinite ease-in-out;
}
}
}