Spaces:
Running
Running
Match chat demo panel sizing with MRTR for consistent two-column readability
Browse files
2026/mcp-connect/animations/chat-demo.html
CHANGED
|
@@ -23,8 +23,8 @@
|
|
| 23 |
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
| 24 |
border-radius: 16px;
|
| 25 |
padding: 24px;
|
| 26 |
-
width:
|
| 27 |
-
height:
|
| 28 |
box-shadow: 0 10px 40px rgba(0,0,0,0.3);
|
| 29 |
overflow: hidden;
|
| 30 |
}
|
|
@@ -117,7 +117,7 @@
|
|
| 117 |
fadeOutOffset: 4000,
|
| 118 |
initialDelay: 500,
|
| 119 |
});
|
| 120 |
-
scaleCanvas();
|
| 121 |
</script>
|
| 122 |
</body>
|
| 123 |
</html>
|
|
|
|
| 23 |
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
| 24 |
border-radius: 16px;
|
| 25 |
padding: 24px;
|
| 26 |
+
width: min(96vw, 560px);
|
| 27 |
+
height: min(96vh, 560px);
|
| 28 |
box-shadow: 0 10px 40px rgba(0,0,0,0.3);
|
| 29 |
overflow: hidden;
|
| 30 |
}
|
|
|
|
| 117 |
fadeOutOffset: 4000,
|
| 118 |
initialDelay: 500,
|
| 119 |
});
|
| 120 |
+
scaleCanvas({ maxScale: 1.25 });
|
| 121 |
</script>
|
| 122 |
</body>
|
| 123 |
</html>
|