From df376758c7d2fd55f1868ef65a4fa90892cb22df Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Sat, 23 Feb 2019 11:13:22 +0100 Subject: [PATCH] :iphone: Make the canvas phone and tablet displayable --- .../styles/main/partials/workspace-canvas.scss | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/frontend/resources/styles/main/partials/workspace-canvas.scss b/frontend/resources/styles/main/partials/workspace-canvas.scss index 718c18e84..f9106df09 100644 --- a/frontend/resources/styles/main/partials/workspace-canvas.scss +++ b/frontend/resources/styles/main/partials/workspace-canvas.scss @@ -9,9 +9,14 @@ background-color: $canvas-bg; display: flex; height: 100%; - width: 100%; - padding: 0 230px 0 230px; - position: relative; + /* width: 100%; */ + /* padding: 0 230px 0 230px; */ + /* position: relative; */ + width: calc(100% - 460px); + padding: 0; + margin: 0; + position: fixed; + right: 230px; &.scrolling { cursor: grab; @@ -57,7 +62,7 @@ } .workspace-canvas { - height: calc(100vh - 50px); + height: calc(100vh - 20px); overflow: scroll; transition: none; width: 100%;