Adjust models UI layout

This commit is contained in:
Lisa Ops
2026-08-24 17:53:56 +07:00
parent 1548188188
commit a18bf5672b
2 changed files with 4 additions and 4 deletions

View File

@@ -1699,12 +1699,12 @@ export function ChatSessionView({
title={`Configure Models (${activeModelsList.join(', ')}) & API Keys`} title={`Configure Models (${activeModelsList.join(', ')}) & API Keys`}
> >
<Zap className="w-3.5 h-3.5 text-black shrink-0" /> <Zap className="w-3.5 h-3.5 text-black shrink-0" />
<span className="text-[10px] font-black bg-black text-white px-1.5 py-0.5 rounded-xs ml-0.5">
{activeModelsList.length}
</span>
<span className="text-[10px] font-black tracking-tight"> <span className="text-[10px] font-black tracking-tight">
MODELS MODELS
</span> </span>
<span className="text-[10px] font-black bg-black text-white px-1.5 py-0.5 rounded-xs ml-0.5">
{activeModelsList.length}
</span>
</button> </button>
)} )}

View File

@@ -257,7 +257,7 @@ export function ModelsConfigDrawer({
</span> </span>
</div> </div>
<div className="max-h-56 overflow-y-auto border border-zinc-200 divide-y divide-zinc-200 bg-white"> <div className="border border-zinc-200 divide-y divide-zinc-200 bg-white">
{AVAILABLE_MODELS.map((m) => { {AVAILABLE_MODELS.map((m) => {
const isSelected = selectedModels.includes(m.id); const isSelected = selectedModels.includes(m.id);
const isMain = mainModel === m.id; const isMain = mainModel === m.id;