Skip to content

fix: multiple chat model-item width #920#936

Open
qxo wants to merge 1 commit into
gpustack:mainfrom
qxo:fix-multiple-chat-model-item-width
Open

fix: multiple chat model-item width #920#936
qxo wants to merge 1 commit into
gpustack:mainfrom
qxo:fix-multiple-chat-model-item-width

Conversation

@qxo

@qxo qxo commented Jan 10, 2026

Copy link
Copy Markdown
  • 关键改进: minWidth: 'fit-content': 根据内容自动调整宽度

  • 效果 短模型名称:自动收缩,节省空间
    长模型名称:自动扩展,完整显示
    响应式:根据容器宽度自动调整
    用户体验:避免文本被截断,提升可读性

-- powered by AI

@hibig

hibig commented Jan 11, 2026

Copy link
Copy Markdown
Collaborator

We need to consider both usage and error messages, so the model name should have a maximum width. This has already been adjusted in version 2.1.0.

@qxo qxo force-pushed the fix-multiple-chat-model-item-width branch from 83ba084 to ded957f Compare January 11, 2026 12:29
* 关键改进:
minWidth: 'fit-content': 根据内容自动调整宽度

* 效果
短模型名称:自动收缩,节省空间
长模型名称:自动扩展,完整显示
响应式:根据容器宽度自动调整
用户体验:避免文本被截断,提升可读性

-- powered by AI
@qxo qxo force-pushed the fix-multiple-chat-model-item-width branch from ded957f to 919e537 Compare January 11, 2026 12:46
@qxo

qxo commented Jan 11, 2026

Copy link
Copy Markdown
Author

We need to consider both usage and error messages, so the model name should have a maximum width. This has already been adjusted in version 2.1.0.

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants