From 9886e53a7c8255ace12ad465f34882d25dbcb4c8 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Thu, 5 Jan 2017 16:54:33 -0500 Subject: [PATCH] fix #245 --- client/modules/IDE/reducers/files.js | 1 - client/styles/layout/_ide.scss | 4 ++-- server/models/project.js | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) 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; }