UNPKG

dynamic-interaction

Version:

Dynamic interaction 动态交互mcp,用于cursor、windsurf、trae 等 AI 智能编辑器 Agent 运行时交互使用

54 lines (49 loc) 975 B
/* layout/layout.css */ body { display: flex; flex-direction: column; align-items: center; justify-content: center; /* 垂直居中 */ padding: 20px; gap: 20px; box-sizing: border-box; min-height: 100vh; } .main-container { display: flex; gap: 24px; width: 80vw; /* 使用视口宽度 */ max-width: 1800px; /* 增加最大宽度 */ max-height: 85vh; /* 限制最大高度 */ flex-grow: 1; min-height: 0; /* Prevent overflow in flex containers */ } .panel { flex: 1; background-color: #2c2c2e; border-radius: 16px; padding: 24px 32px; border: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; overflow-y: auto; } #summary-panel { flex: 1; } #interaction-panel { flex: 1; } .panel .icon { width: 18px; height: 18px; margin-right: 8px; stroke-width: 2.5; color: #a0a0a5; /* A neutral color for icons */ }