From 6bf0531f818e2f662a0bf812d7c81a4c2fcd736e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 28 Oct 2018 10:26:49 -0700 Subject: [PATCH] fixed width of panel edit mode --- public/sass/components/_viz_editor.scss | 51 ++++++++++++------------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/public/sass/components/_viz_editor.scss b/public/sass/components/_viz_editor.scss index a342f584f69..3fe4d44cc24 100644 --- a/public/sass/components/_viz_editor.scss +++ b/public/sass/components/_viz_editor.scss @@ -1,3 +1,28 @@ +.panel-editor-container { + display: flex; + flex-direction: column; + height: 100%; +} + +.panel-editor-container__panel { + flex: 1 1 0; +} + +.panel-editor-container__editor { + margin-top: $panel-margin*2; + display: flex; + flex-direction: row; + height: 65%; + position: relative; +} + +.panel-editor__content { + flex-grow: 1; + min-width: 0; + height: 100%; + padding: 0 20px; +} + .panel-in-fullscreen { .scroll-canvas--dashboard { height: 100%; @@ -76,32 +101,6 @@ height: 40px; } -.panel-editor-container { - display: flex; - flex-direction: column; - height: 100%; -} - -.panel-editor-container__panel { - flex: 1 1 0; -} - -.panel-editor-container__editor { - margin-top: $panel-margin*2; - display: flex; - flex-direction: row; - height: 65%; - position: relative; -} - -.panel-editor__content { - flex-grow: 1; - min-width: 0; - height: 100%; - padding: 0 20px; - max-width: 1100px; -} - .panel-editor__aside { background: $panel-bg; display: flex;