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:
chengyongru authored and GitHub committed 2026-10-23 00:45:58 +08:00
1 parent 10ad48cc13
commit 6a358a1e91
3 files changed
+23 -10

No files matched your search

+1 -1
View File
@@ -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),