From d655628f453545e2178ddccb8ac467d77b04b4a0 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Thu, 6 Jan 2022 14:57:17 -0800 Subject: [PATCH] Center back icon --- packages/mindplot/src/components/DesignerBuilder.js | 2 +- packages/mindplot/test/playground/map-render/css/toolbar.less | 4 ++-- packages/mindplot/test/playground/map-render/html/editor.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/mindplot/src/components/DesignerBuilder.js b/packages/mindplot/src/components/DesignerBuilder.js index 09156ed8..d9527f63 100644 --- a/packages/mindplot/src/components/DesignerBuilder.js +++ b/packages/mindplot/src/components/DesignerBuilder.js @@ -79,7 +79,7 @@ export function buildOptions(options) { }; const viewPort = { - height: Number.parseInt(window.innerHeight - 70, 10), // Footer and Header + height: Number.parseInt(window.innerHeight, 10), width: Number.parseInt(window.innerWidth, 10), }; diff --git a/packages/mindplot/test/playground/map-render/css/toolbar.less b/packages/mindplot/test/playground/map-render/css/toolbar.less index 2dfe7194..6527a3a3 100644 --- a/packages/mindplot/test/playground/map-render/css/toolbar.less +++ b/packages/mindplot/test/playground/map-render/css/toolbar.less @@ -23,11 +23,11 @@ div#mapName >span { } div#back { - background: url(../images/back-icon.svg) no-repeat center top; + background: url(../images/back-icon.svg) no-repeat center center; height: 40px; width: 80px; float: left; - margin: 8px 0px; + margin: 6px 0px; } /******************************************************************************************/ diff --git a/packages/mindplot/test/playground/map-render/html/editor.html b/packages/mindplot/test/playground/map-render/html/editor.html index 01a396fb..d8c17c01 100644 --- a/packages/mindplot/test/playground/map-render/html/editor.html +++ b/packages/mindplot/test/playground/map-render/html/editor.html @@ -12,7 +12,7 @@