style(selection): truncate provider and model name in action app to prevent overflow

This commit is contained in:
icarus 2025-11-25 18:01:28 +08:00
parent c2dde99947
commit f9f1a723da

View File

@ -229,7 +229,7 @@ const SelectionActionApp: FC = () => {
)}
<TitleBarCaption>{action.isBuiltIn ? t(action.name) : action.name}</TitleBarCaption>
{model !== undefined && (
<span className="text-muted-foreground">
<span className="truncate text-muted-foreground">
{getProviderNameById(model.provider)} | {model.name}
</span>
)}