diff --git a/client/modules/IDE/reducers/files.js b/client/modules/IDE/reducers/files.js index 84faa649..4e9139b4 100644 --- a/client/modules/IDE/reducers/files.js +++ b/client/modules/IDE/reducers/files.js @@ -26,7 +26,6 @@ const defaultHTML = const defaultCSS = `html, body { - overflow: hidden; margin: 0; padding: 0; } diff --git a/client/styles/layout/_ide.scss b/client/styles/layout/_ide.scss index 1bb76317..7a92fa7c 100644 --- a/client/styles/layout/_ide.scss +++ b/client/styles/layout/_ide.scss @@ -36,8 +36,8 @@ } .preview-frame { - height: 100%; - width: 100%; + min-height: 100%; + min-width: 100%; position: absolute; } diff --git a/server/models/project.js b/server/models/project.js index f87e6ec7..54d0917d 100644 --- a/server/models/project.js +++ b/server/models/project.js @@ -27,7 +27,6 @@ const defaultHTML = `; const defaultCSS = `html, body { - overflow: hidden; margin: 0; padding: 0; }