refactor(layout): 优化团队页面布局和滚动

- 在 Team组件中添加 overflow-y-auto 以启用垂直滚动
- 在 Playground组件中调整网格布局,移除不必要的导入
- 优化消息列表布局,确保内容可以滚动
This commit is contained in:
zhaoweijie
2025-08-19 18:13:15 +08:00
parent 48404fb316
commit df0bf51bdf
2 changed files with 4 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ export const PlaygroundTeam = () => {
/>
{/* 场景列表 */}
<div className="grid grid-cols-2 gap-3">
<div className="grid grid-cols-2 gap-3 flex-1 overflow-y-auto">
{data.slice(0,2).map((item, index) => (
<Card key={index} hoverable className="[&>*:first-child]:!p-3" >
<div className="flex flex-col gap-0.5">