Spaces:
Running
Running
Match chat API panel sizing with MRTR and allow slight upscale
Browse files
2026/mcp-connect/animations/chat-api-view.html
CHANGED
|
@@ -23,8 +23,8 @@
|
|
| 23 |
background: linear-gradient(135deg, #1e1e1e 0%, #252526 100%);
|
| 24 |
border-radius: 16px;
|
| 25 |
padding: 16px;
|
| 26 |
-
width:
|
| 27 |
-
height:
|
| 28 |
box-shadow: 0 10px 40px rgba(0,0,0,0.3);
|
| 29 |
overflow: hidden;
|
| 30 |
display: flex;
|
|
@@ -190,7 +190,7 @@
|
|
| 190 |
}
|
| 191 |
},
|
| 192 |
});
|
| 193 |
-
scaleCanvas();
|
| 194 |
</script>
|
| 195 |
</body>
|
| 196 |
</html>
|
|
|
|
| 23 |
background: linear-gradient(135deg, #1e1e1e 0%, #252526 100%);
|
| 24 |
border-radius: 16px;
|
| 25 |
padding: 16px;
|
| 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 |
display: flex;
|
|
|
|
| 190 |
}
|
| 191 |
},
|
| 192 |
});
|
| 193 |
+
scaleCanvas({ maxScale: 1.25 });
|
| 194 |
</script>
|
| 195 |
</body>
|
| 196 |
</html>
|