perf(webui): animate segmented indicator without layout (#6403)
* perf(webui): animate segmented indicator without layout * test(webui): keep segmented indicator coverage focused
This commit is contained in:
1 parent
10ad48cc13
commit
6a358a1e91
3 files changed
+23
-10
No files matched your search
@@ -1387,7 +1387,7 @@
|
||||
@layer components {
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.segmented-control-indicator[data-animate="true"] {
|
||||
transition-property: transform, width;
|
||||
transition-property: translate, scale;
|
||||
transition-duration: 220ms, 160ms;
|
||||
transition-timing-function:
|
||||
cubic-bezier(0.2, 0.95, 0.25, 1.08),
|
||||
|
||||
Reference in new issue
Block a user