Skip to content

Commit

Permalink
Center canvas of interpreter outputs (#227)
Browse files Browse the repository at this point in the history
* Center canvas in repl history

* Bump version v0.1.5 -> v0.1.6
  • Loading branch information
ning-y committed Jul 23, 2018
1 parent 2debe92 commit ad70de0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "cadet-frontend",
"version": "0.1.5",
"version": "0.1.6",
"scripts-info": {
"format": "Format source code",
"start": "Start the Webpack development server",
Expand Down
12 changes: 12 additions & 0 deletions src/styles/_workspace.scss
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,18 @@ $code-color-error: #ff4444;

.resultOutput {
color: $code-color-result;

.canvas-container {
display: flex;
padding: 0.5rem 0 0.5rem 0;
align-items: center;
justify-content: center;
}

canvas {
height: 20rem;
width: 20rem;
}
}

.errorOutput {
Expand Down

0 comments on commit ad70de0

Please sign in to comment.