1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Fix splitters

This commit is contained in:
Tobias Springer
2020-05-09 19:14:11 +02:00
parent 01d9a03264
commit 61bda596b6
5 changed files with 198 additions and 16 deletions

View File

@@ -22,19 +22,23 @@
justify-content: center;
}
#result {
#resultWrapper {
border: 1px solid #ccc;
margin-top: 10px;
background: #fff;
padding: 40px;
}
#resultWrapper #result {
}
#code {
width: 600px;
font-family: monospace;
padding: 10px;
padding: 30px;
border: 1px solid #ccc;
background: #fff;
font-size: 15px;
font-size: 17px;
}
#code:focus {
@@ -57,7 +61,9 @@
</style>
</head>
<body>
<h2>Shape generator</h2>
<input
value="CuCuCuCu"
id="code"
placeholder="shape code"
onkeypress="debounce(generate)"
@@ -67,6 +73,9 @@
/>
<div id="error">Error</div>
<br />
<canvas id="result" width="512" height="512"></canvas>
<div id="resultWrapper">
<canvas id="result" width="256" height="256"></canvas>
</div>
</body>
</html>