mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-22 00:13:09 +08:00
style(selection): truncate provider and model name in action app to prevent overflow
This commit is contained in:
parent
c2dde99947
commit
f9f1a723da
@ -229,7 +229,7 @@ const SelectionActionApp: FC = () => {
|
|||||||
)}
|
)}
|
||||||
<TitleBarCaption>{action.isBuiltIn ? t(action.name) : action.name}</TitleBarCaption>
|
<TitleBarCaption>{action.isBuiltIn ? t(action.name) : action.name}</TitleBarCaption>
|
||||||
{model !== undefined && (
|
{model !== undefined && (
|
||||||
<span className="text-muted-foreground">
|
<span className="truncate text-muted-foreground">
|
||||||
{getProviderNameById(model.provider)} | {model.name}
|
{getProviderNameById(model.provider)} | {model.name}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user