Skip to content

Commit d6fb0bb

Browse files
StiensWoutclaude
andcommitted
fix(web): keep the capability cell in the model row grid on phone widths
Co-Authored-By: Claude Fable 5.1 <[email protected]>
1 parent 71ceb4f commit d6fb0bb

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

‎apps/web/src/components/settings/ProviderModelsSection.tsx‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -434,14 +434,15 @@ export function ProviderModelsSection({
434434
</code>
435435
) : null}
436436
</span>
437-
{/* The capability column sizes to its content, so it yields to the name on phone widths. */}
438-
{capLabels.length > 0 ? (
439-
<span className="hidden text-[11px] text-muted-foreground/70 sm:block">
440-
{capLabels.join(" · ")}
441-
</span>
442-
) : (
443-
<span />
444-
)}
437+
{/*
438+
Always a grid item so the columns line up across rows; the text
439+
itself drops out on phone widths where it would starve the name.
440+
*/}
441+
<span className="text-[11px] text-muted-foreground/70">
442+
{capLabels.length > 0 ? (
443+
<span className="hidden sm:inline">{capLabels.join(" · ")}</span>
444+
) : null}
445+
</span>
445446
{rowActions(model, { isHidden, canMoveUp, canMoveDown })}
446447
{pickerSwitch(model, isHidden)}
447448
</div>

0 commit comments

Comments
 (0)