From 0cfb132ab7cf5befa08564b7bb8127321b5baa2f Mon Sep 17 00:00:00 2001 From: "sp.wack" <83104063+amanape@users.noreply.github.com> Date: Tue, 12 Nov 2024 18:27:06 +0200 Subject: [PATCH] fix(frontend): Remove dotted outline on focus (#4926) --- frontend/src/components/interactive-chat-box.tsx | 5 ----- frontend/src/routes/_oh._index/task-form.tsx | 5 ----- 2 files changed, 10 deletions(-) diff --git a/frontend/src/components/interactive-chat-box.tsx b/frontend/src/components/interactive-chat-box.tsx index a8b7f51f159c..3cb166cd7a4f 100644 --- a/frontend/src/components/interactive-chat-box.tsx +++ b/frontend/src/components/interactive-chat-box.tsx @@ -59,11 +59,6 @@ export function InteractiveChatBox({ "bg-neutral-700 border border-neutral-600 rounded-lg px-2 py-[10px]", "transition-colors duration-200", "hover:border-neutral-500 focus-within:border-neutral-500", - "group relative", - "before:pointer-events-none before:absolute before:inset-0 before:rounded-lg before:transition-colors", - "before:border-2 before:border-dashed before:border-transparent", - "[&:has(*:focus-within)]:before:border-neutral-500/50", - "[&:has(*[data-dragging-over='true'])]:before:border-neutral-500/50", )} > diff --git a/frontend/src/routes/_oh._index/task-form.tsx b/frontend/src/routes/_oh._index/task-form.tsx index 2a2eaae158ab..57b03f5374bc 100644 --- a/frontend/src/routes/_oh._index/task-form.tsx +++ b/frontend/src/routes/_oh._index/task-form.tsx @@ -70,11 +70,6 @@ export function TaskForm() { "border border-neutral-600 px-4 py-[17px] rounded-lg text-[17px] leading-5 w-full transition-colors duration-200", inputIsFocused ? "bg-neutral-600" : "bg-neutral-700", "hover:border-neutral-500 focus-within:border-neutral-500", - "group relative", - "before:pointer-events-none before:absolute before:inset-0 before:rounded-lg before:transition-colors", - "before:border-2 before:border-dashed before:border-transparent", - "[&:has(*:focus-within)]:before:border-neutral-500/50", - "[&:has(*[data-dragging-over='true'])]:before:border-neutral-500/50", )} >