Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions desktop/frontend/src/components/ModelSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ export function ModelSwitcher({ label, tabId, onPick }: { label: string; tabId?:
onClick={() => pick(m.ref)}
>
<span className="modelsw__copy">
<span className="modelsw__model">{m.model}</span>
<span className="modelsw__provider">{providerLabel(m.provider, t)}</span>
<span className="modelsw__model" title={m.model}>{m.model}</span>
<span className="modelsw__provider" title={providerLabel(m.provider, t)}>{providerLabel(m.provider, t)}</span>
</span>
{m.current && <Check size={13} className="modelsw__check" />}
</button>
Expand Down
18 changes: 18 additions & 0 deletions desktop/frontend/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4401,11 +4401,29 @@ a[href] {
z-index: var(--z-local-popover);
min-width: 200px;
max-width: 320px;
max-height: 280px;
overflow-y: auto;
background: var(--bg-elev);
border: 1px solid var(--border);
border-radius: 9px;
padding: 5px;
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
scrollbar-width: thin;
scrollbar-color: var(--border) transparent;
}
.modelsw__menu::-webkit-scrollbar {
width: 6px;
}
.modelsw__menu::-webkit-scrollbar-track {
background: transparent;
border-radius: 3px;
}
.modelsw__menu::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 3px;
}
.modelsw__menu::-webkit-scrollbar-thumb:hover {
background: var(--fg-faint);
}
.modelsw__menu--portal {
position: fixed;
Expand Down
Loading