diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx
index 46d4558b..d829a3f0 100644
--- a/client/modules/IDE/pages/IDEView.jsx
+++ b/client/modules/IDE/pages/IDEView.jsx
@@ -370,41 +370,43 @@ class IDEView extends React.Component {
-
{ this.overlay = element; }}>
+
+
{ this.overlay = element; }}>
+
+
+ {(
+ (
+ (this.props.preferences.textOutput ||
+ this.props.preferences.gridOutput ||
+ this.props.preferences.soundOutput
+ ) &&
+ this.props.ide.isPlaying
+ ) ||
+ this.props.ide.isAccessibleOutputPlaying
+ )
+ }
+
+
-
- {(
- (
- (this.props.preferences.textOutput ||
- this.props.preferences.gridOutput ||
- this.props.preferences.soundOutput
- ) &&
- this.props.ide.isPlaying
- ) ||
- this.props.ide.isAccessibleOutputPlaying
- )
- }
-
-
diff --git a/client/modules/IDE/reducers/files.js b/client/modules/IDE/reducers/files.js
index 19c1aa81..3f3ebac0 100644
--- a/client/modules/IDE/reducers/files.js
+++ b/client/modules/IDE/reducers/files.js
@@ -31,6 +31,9 @@ const defaultCSS =
margin: 0;
padding: 0;
}
+canvas {
+ display: block;
+}
`;
const initialState = () => {
diff --git a/client/styles/components/_preview-frame.scss b/client/styles/components/_preview-frame.scss
index 8c356972..0b7e6610 100644
--- a/client/styles/components/_preview-frame.scss
+++ b/client/styles/components/_preview-frame.scss
@@ -5,6 +5,11 @@
border-width: 0;
}
+.preview-frame-holder {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+}
.preview-frame-overlay {
height: 100%;
@@ -37,3 +42,8 @@
font-size: #{12 / $base-font-size}rem;
font-weight: normal;
}
+
+.preview-frame__content {
+ position: relative;
+ flex: 1 1 0;
+}
\ No newline at end of file
diff --git a/server/examples.js b/server/examples.js
index bdf54c1d..fb167436 100644
--- a/server/examples.js
+++ b/server/examples.js
@@ -28,6 +28,9 @@ const defaultCSS =
margin: 0;
padding: 0;
}
+canvas {
+ display: block;
+}
`;
const clientId = process.env.GITHUB_ID;