Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix(frontend): Remove dotted outline on focus (#4926)

sp.wack0cfb132ab7cf
diff --git a/frontend/src/components/interactive-chat-box.tsx b/frontend/src/components/interactive-chat-box.tsx
index a8b7f51f15..3cb166cd7a 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",
)}
>
<UploadImageInput onUpload={handleUpload} />
diff --git a/frontend/src/routes/_oh._index/task-form.tsx b/frontend/src/routes/_oh._index/task-form.tsx
index 2a2eaae158..57b03f5374 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",
)}
>
<ChatInput