dynamic-interaction
Version:
Dynamic interaction 动态交互mcp,用于cursor、windsurf、trae 等 AI 智能编辑器 Agent 运行时交互使用
31 lines (27 loc) • 474 B
CSS
/* components/modal.css */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
align-items: center;
justify-content: center;
}
.modal.show {
display: flex;
}
.modal-content {
max-width: 90%;
max-height: 90vh;
border-radius: 8px;
cursor: pointer;
}
@media (max-width: 700px){
.modal-content {
max-width: 95%;
}
}