refactor(layout): 优化团队页面布局和滚动
- 在 Team组件中添加 overflow-y-auto 以启用垂直滚动 - 在 Playground组件中调整网格布局,移除不必要的导入 - 优化消息列表布局,确保内容可以滚动
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user