From e00e41bb64ff94bf0d92b4274d2229444b3df6ca Mon Sep 17 00:00:00 2001 From: sagit <36596628+Sagit-chu@users.noreply.github.com> Date: Sat, 14 Feb 2026 11:40:14 +0800 Subject: [PATCH] fix(frontend): remove focus styles from Select trigger and Textarea (#116) --- vite-frontend/src/styles/globals.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vite-frontend/src/styles/globals.css b/vite-frontend/src/styles/globals.css index 71446da..9526312 100644 --- a/vite-frontend/src/styles/globals.css +++ b/vite-frontend/src/styles/globals.css @@ -52,14 +52,17 @@ html, body { [data-slot="input-wrapper"]:focus-within:not([data-invalid="true"]), [data-slot="input-wrapper"][data-focus="true"]:not([data-invalid="true"]), -[data-slot="input-wrapper"][data-focused="true"]:not([data-invalid="true"]) { +[data-slot="input-wrapper"][data-focused="true"]:not([data-invalid="true"]), +button[data-slot="trigger"][data-focus="true"]:not([data-invalid="true"]), +button[data-slot="trigger"][data-open="true"]:not([data-invalid="true"]) { border-color: var(--heroui-default-200, #e5e7eb) !important; outline: none !important; outline-offset: 0 !important; box-shadow: none !important; } -[data-slot="input-wrapper"] input:focus { +[data-slot="input-wrapper"] input:focus, +[data-slot="input-wrapper"] textarea:focus { outline: none !important; box-shadow: none !important; border-color: transparent !important;