From 0d1ad21a1bda7877b82f82be5a1ad536a6714f3d Mon Sep 17 00:00:00 2001 From: Levko Kravets Date: Tue, 28 Nov 2017 14:58:02 +0200 Subject: [PATCH] getredash/redash/issues/2103 Fix: unnecessary horizontal scroll; fix: viz overlaps filters panel --- client/app/components/filters.html | 8 ++++---- client/app/pages/dashboards/dashboard.less | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/client/app/components/filters.html b/client/app/components/filters.html index 662ea3fd..662bdc83 100644 --- a/client/app/components/filters.html +++ b/client/app/components/filters.html @@ -1,10 +1,10 @@ -
-
+
+
-
+
@@ -31,4 +31,4 @@
-
\ No newline at end of file +
diff --git a/client/app/pages/dashboards/dashboard.less b/client/app/pages/dashboards/dashboard.less index 7a2b16da..8fb04ff6 100644 --- a/client/app/pages/dashboards/dashboard.less +++ b/client/app/pages/dashboards/dashboard.less @@ -56,6 +56,26 @@ } .gridster-item:not(.gridster-auto-height-enabled) { + visualization-renderer { + display: flex; + flex-direction: column; + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + + > filters { + flex-grow: 0; + } + + > div { + flex-grow: 1; + position: relative; + } + } + + .dynamic-table-container, .sunburst-visualization-container, .sankey-visualization-container, .map-visualization-container,