mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-08 20:30:20 +08:00
fix: replace ring with border for provider selection state (#617)
* fix: replace ring with border for provider selection state * fix(settings): use auto width for send shortcut selector to prevent text truncation
This commit is contained in:
@@ -443,12 +443,12 @@ export function ModelConfigDialog({
|
||||
}}
|
||||
className={cn(
|
||||
"group flex items-center gap-3 px-3 py-2.5 rounded-xl w-full",
|
||||
"text-left text-sm transition-all duration-150",
|
||||
"text-left text-sm transition-all duration-150 border border-transparent",
|
||||
"hover:bg-interactive-hover",
|
||||
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
||||
selectedProviderId ===
|
||||
provider.id &&
|
||||
"bg-surface-0 shadow-sm ring-1 ring-border-subtle",
|
||||
"bg-surface-0 shadow-sm border-border-subtle",
|
||||
)}
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user