From 468f4ef121c00631a57bd6777a26bdf949c3b7cc Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Thu, 14 May 2026 02:10:33 +0530 Subject: [PATCH] refactor: standardize hover effects and focus styles across UI components --- surfsense_web/components/assistant-ui/assistant-message.tsx | 4 ++-- surfsense_web/components/ui/inline-combobox.tsx | 2 +- surfsense_web/components/ui/select.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/surfsense_web/components/assistant-ui/assistant-message.tsx b/surfsense_web/components/assistant-ui/assistant-message.tsx index 28dc9aacc..3f4e972fc 100644 --- a/surfsense_web/components/assistant-ui/assistant-message.tsx +++ b/surfsense_web/components/assistant-ui/assistant-message.tsx @@ -328,7 +328,7 @@ const MessageInfoDropdown: FC = () => { return ( e.preventDefault()} > @@ -344,7 +344,7 @@ const MessageInfoDropdown: FC = () => { }) ) : ( e.preventDefault()} > diff --git a/surfsense_web/components/ui/inline-combobox.tsx b/surfsense_web/components/ui/inline-combobox.tsx index 941c1c7db..1747dc469 100644 --- a/surfsense_web/components/ui/inline-combobox.tsx +++ b/surfsense_web/components/ui/inline-combobox.tsx @@ -299,7 +299,7 @@ const comboboxItemVariants = cva( variants: { interactive: { false: "", - true: "cursor-pointer transition-colors hover:bg-accent hover:text-accent-foreground data-[active-item=true]:bg-accent data-[active-item=true]:text-accent-foreground dark:hover:bg-neutral-700 dark:data-[active-item=true]:bg-neutral-700", + true: "cursor-pointer transition-colors hover:bg-accent hover:text-accent-foreground data-[active-item=true]:bg-accent data-[active-item=true]:text-accent-foreground", }, }, } diff --git a/surfsense_web/components/ui/select.tsx b/surfsense_web/components/ui/select.tsx index 637349e7f..0a17516d5 100644 --- a/surfsense_web/components/ui/select.tsx +++ b/surfsense_web/components/ui/select.tsx @@ -97,7 +97,7 @@ function SelectItem({ );