From 112eded2e683e7ee4897f2979af01915aa9462ed Mon Sep 17 00:00:00 2001 From: Tiberiu Ichim Date: Sat, 1 Feb 2020 00:00:52 +0200 Subject: [PATCH] Allow charts to be full width --- src/ChartBlock/ChartEditSidebar.jsx | 21 +++++++++++++++++++++ src/PickVisualization/PickVisualization.jsx | 17 ----------------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/src/ChartBlock/ChartEditSidebar.jsx b/src/ChartBlock/ChartEditSidebar.jsx index c20c281b..0dd186ef 100644 --- a/src/ChartBlock/ChartEditSidebar.jsx +++ b/src/ChartBlock/ChartEditSidebar.jsx @@ -3,6 +3,8 @@ import { Segment } from 'semantic-ui-react'; // , Dropdown import { Field, SidebarPortal, TextWidget } from '@plone/volto/components'; import { Button } from 'semantic-ui-react'; import PickProvider from 'volto-datablocks/PickProvider'; +import { AlignBlock } from '@plone/volto/helpers'; +import { Form, Grid } from 'semantic-ui-react'; const ChartEditSidebar = ({ onChangeBlock, block, data }) => ( @@ -45,6 +47,25 @@ const ChartEditSidebar = ({ onChangeBlock, block, data }) => ( }) } /> + + + + +
+ +
+
+ + + +
+
+
[el['@id'], el.title]); -// searchVisualizations = () => { -// this.props.searchContent( -// '', -// { -// // object_provides: 'forests.content.interfaces.IDataVisualization', -// portal_type: 'visualization', -// }, -// this.props.id, -// ); -// };