diff --git a/web/src/components/settings/SettingsCategory.svelte b/web/src/components/settings/SettingsCategory.svelte index 31205539..df7dcb31 100644 --- a/web/src/components/settings/SettingsCategory.svelte +++ b/web/src/components/settings/SettingsCategory.svelte @@ -35,7 +35,7 @@ animation: highlight 2s; } - :global(.reduce-motion) .settings-content.animate { + :global([data-reduce-motion="true"]) .settings-content.animate { animation: highlight-lite 2s !important; } diff --git a/web/src/components/sidebar/Sidebar.svelte b/web/src/components/sidebar/Sidebar.svelte index e76be484..05ba72d9 100644 --- a/web/src/components/sidebar/Sidebar.svelte +++ b/web/src/components/sidebar/Sidebar.svelte @@ -1,8 +1,6 @@