Skip to content

Commit ad70de0

Browse files
authored
Center canvas of interpreter outputs (#227)
* Center canvas in repl history * Bump version v0.1.5 -> v0.1.6
1 parent 2debe92 commit ad70de0

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "cadet-frontend",
4-
"version": "0.1.5",
4+
"version": "0.1.6",
55
"scripts-info": {
66
"format": "Format source code",
77
"start": "Start the Webpack development server",

src/styles/_workspace.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,18 @@ $code-color-error: #ff4444;
240240

241241
.resultOutput {
242242
color: $code-color-result;
243+
244+
.canvas-container {
245+
display: flex;
246+
padding: 0.5rem 0 0.5rem 0;
247+
align-items: center;
248+
justify-content: center;
249+
}
250+
251+
canvas {
252+
height: 20rem;
253+
width: 20rem;
254+
}
243255
}
244256

245257
.errorOutput {

0 commit comments

Comments
 (0)