From 84cd0b44a9638288e7e548356681ccd607db8288 Mon Sep 17 00:00:00 2001 From: Bingxi Zhao <13051345080@163.com> Date: Tue, 24 Nov 2026 18:15:24 +0800 Subject: [PATCH] feat(settings): ease the card in and give the apply button press feedback The floating settings card used to appear in a single frame over the dimmed app. Reuse the product's existing overlay/pop entrance classes so the panel reads as placed over the page rather than popped in front of it, and add a 97% press state to the primary apply action so a click is acknowledged before the request lands. Both inherit the global prefers-reduced-motion clamp. --- web/components/settings/SettingsMain.tsx | 4 ++-- web/components/settings/SettingsToolbar.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/components/settings/SettingsMain.tsx b/web/components/settings/SettingsMain.tsx index 67feb1ffc..2708af0dc 100644 --- a/web/components/settings/SettingsMain.tsx +++ b/web/components/settings/SettingsMain.tsx @@ -101,7 +101,7 @@ export default function SettingsMain({ children }: { children: React.ReactNode } // its own rounded edge, so opening settings no longer replaces the whole // window. Phones have no room for a floating card and get the full sheet.