From e31490ac68a223fdcda23676f7412beb6e846ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 4 Dec 2018 12:36:43 -0800 Subject: [PATCH] fix for panel embedding. Solo panel height was not correctly set. Made panel--solo into panel-solo class. in develop branch we have remove the need for the panel class --- .../features/panel/partials/soloPanel.html | 3 +-- public/sass/base/_type.scss | 1 - public/sass/pages/_dashboard.scss | 25 ++++++++++++------- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/public/app/features/panel/partials/soloPanel.html b/public/app/features/panel/partials/soloPanel.html index 0940e07afdd..644bbe74ffb 100644 --- a/public/app/features/panel/partials/soloPanel.html +++ b/public/app/features/panel/partials/soloPanel.html @@ -1,5 +1,4 @@ -
+
-
diff --git a/public/sass/base/_type.scss b/public/sass/base/_type.scss index 2de8665f06a..1a005b0d511 100644 --- a/public/sass/base/_type.scss +++ b/public/sass/base/_type.scss @@ -199,7 +199,6 @@ small, mark, .mark { - padding: 0.2em; background: $alert-warning-bg; } diff --git a/public/sass/pages/_dashboard.scss b/public/sass/pages/_dashboard.scss index 125edac500f..0a578901bbd 100644 --- a/public/sass/pages/_dashboard.scss +++ b/public/sass/pages/_dashboard.scss @@ -19,16 +19,23 @@ div.flot-text { .panel { height: 100%; +} - &--solo { - position: fixed; - bottom: 0; - right: 0; - margin: 0; - .panel-container { - border: none; - z-index: $zindex-sidemenu + 1; - } +.panel-solo { + position: fixed; + bottom: 0; + right: 0; + margin: 0; + left: 0; + top: 0; + + .panel-container { + border: none; + } + + .panel-menu-toggle, + .panel-menu { + display: none; } }