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:
broBinChen
2026-01-20 18:14:18 +08:00
committed by GitHub
parent 89a0e6d475
commit 7b5a3075cf
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -432,7 +432,7 @@ function SettingsContent({
>
<SelectTrigger
id="send-shortcut-select"
className="w-[170px] h-9 rounded-xl"
className="w-auto h-9 rounded-xl"
>
<SelectValue />
</SelectTrigger>