fix(webui): soften form control focus rings
This commit is contained in:
@@ -3,6 +3,7 @@ import { ListTree, Search } from "lucide-react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { formControlFocusClassName } from "@/components/ui/form-control";
|
||||
import {
|
||||
Sheet,
|
||||
SheetContent,
|
||||
@@ -83,7 +84,8 @@ export function PromptNavigator({
|
||||
placeholder={t("thread.promptNavigator.search")}
|
||||
className={cn(
|
||||
"h-10 w-full rounded-full border border-border bg-background pl-9 pr-3 text-sm",
|
||||
"outline-none transition focus:border-ring focus:ring-2 focus:ring-ring/20",
|
||||
"transition-colors",
|
||||
formControlFocusClassName,
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -256,10 +256,7 @@ export function WorkspaceProjectPicker({
|
||||
aria-label={t("workspace.dialog.manual")}
|
||||
aria-invalid={pathError || error ? true : undefined}
|
||||
aria-describedby={pathError || error ? pathErrorId : undefined}
|
||||
className={cn(
|
||||
"h-9 rounded-full border-border/55 bg-background/80 px-3 text-[12.5px]",
|
||||
"focus-visible:ring-1 focus-visible:ring-foreground/10 focus-visible:ring-offset-0",
|
||||
)}
|
||||
className="h-9 rounded-full border-border/55 bg-background/80 px-3 text-[12.5px]"
|
||||
/>
|
||||
<Button
|
||||
type="submit"
|
||||
|
||||
Reference in New Issue
Block a user