From 99a4b926818abe569c5c7e1d48d69f8a8defa79a Mon Sep 17 00:00:00 2001 From: Gabriel Dutra Date: Wed, 26 Feb 2020 14:38:05 -0300 Subject: [PATCH 1/2] Change visualization editor scroll to internal divs --- .../components/EditVisualizationDialog.jsx | 15 ++++++++------- .../components/EditVisualizationDialog.less | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 client/app/visualizations/components/EditVisualizationDialog.less diff --git a/client/app/visualizations/components/EditVisualizationDialog.jsx b/client/app/visualizations/components/EditVisualizationDialog.jsx index ad94e26652..112223ec74 100644 --- a/client/app/visualizations/components/EditVisualizationDialog.jsx +++ b/client/app/visualizations/components/EditVisualizationDialog.jsx @@ -4,7 +4,6 @@ import PropTypes from "prop-types"; import Modal from "antd/lib/modal"; import Select from "antd/lib/select"; import Input from "antd/lib/input"; -import * as Grid from "antd/lib/grid"; import { wrap as wrapDialog, DialogPropType } from "@/components/DialogWrapper"; import ErrorBoundary, { ErrorMessage } from "@/components/ErrorBoundary"; import Filters, { filterData } from "@/components/Filters"; @@ -15,6 +14,8 @@ import getQueryResultData from "@/lib/getQueryResultData"; import { VisualizationType } from "@/visualizations/prop-types"; import registeredVisualizations, { getDefaultVisualization, newVisualization } from "@/visualizations"; +import "./EditVisualizationDialog.less"; + function updateQueryVisualizations(query, visualization) { const index = findIndex(query.visualizations, v => v.id === visualization.id); if (index > -1) { @@ -157,8 +158,8 @@ function EditVisualizationDialog({ dialog, visualization, query, queryResult }) onOk={save} onCancel={dismiss} wrapProps={{ "data-test": "EditVisualizationDialog" }}> - - +
+