refactor(webui): animate segmented control indicator

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-16 00:43:03 +08:00
1 parent 0374f74bb7
commit 0c4583b7f5
6 files changed
+270 -31

No files matched your search

@@ -254,6 +254,7 @@ export function AutomationsSettings({
value={view}
className="rounded-[var(--radius-panel)] bg-[var(--automation-view-track)]"
itemClassName="min-h-8 rounded-[calc(var(--radius-panel)-0.25rem)]"
indicatorClassName="rounded-[calc(var(--radius-panel)-0.25rem)]"
options={[
{ value: "tasks", label: tx("settings.automations.views.tasks", "Tasks") },
{ value: "calendar", label: tx("settings.automations.views.calendar", "Calendar") },