From 4cacb9f92c80d275b6d4a4784ab77f5a21604549 Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Sun, 11 Aug 2019 00:10:00 +0200 Subject: [PATCH] :lipstick: Adapt when no tool bar Signed-off-by: mathieu.brunot --- .../resources/styles/main/partials/workspace-canvas.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/resources/styles/main/partials/workspace-canvas.scss b/frontend/resources/styles/main/partials/workspace-canvas.scss index a358ef86b7..c465b8303c 100644 --- a/frontend/resources/styles/main/partials/workspace-canvas.scss +++ b/frontend/resources/styles/main/partials/workspace-canvas.scss @@ -24,6 +24,8 @@ &.no-tool-bar-right { padding-right: 0; + width: calc(100% - 230px); + right: 0; .coordinates { right: 10px; @@ -32,6 +34,11 @@ &.no-tool-bar-left { padding-left: 0; + width: calc(100% - 230px); + + &.no-tool-bar-right { + width: 100%; + } } .coordinates {