From fa6652e5514125127d38b334fdabb9152195f70b Mon Sep 17 00:00:00 2001 From: Laura Fuentes Grau Date: Thu, 18 Jun 2020 12:42:08 +0200 Subject: [PATCH] (wip) styling added to the dashboard edit toolbar #227 --- src/widget/toolbox-item.js | 4 ++-- src/widget/widget-toolbox.js | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/widget/toolbox-item.js b/src/widget/toolbox-item.js index 013c4cf..b61bdc4 100644 --- a/src/widget/toolbox-item.js +++ b/src/widget/toolbox-item.js @@ -51,7 +51,7 @@ class ToolboxItem extends React.Component { if (this.props.disabled === false) { return this.props.connectDragSource(
- + {this.props.icon && } {this.props.name} @@ -61,7 +61,7 @@ class ToolboxItem extends React.Component { else { return (
- + {this.props.icon && } {this.props.name} diff --git a/src/widget/widget-toolbox.js b/src/widget/widget-toolbox.js index 9a4309b..820b02a 100644 --- a/src/widget/widget-toolbox.js +++ b/src/widget/widget-toolbox.js @@ -39,20 +39,20 @@ class WidgetToolbox extends React.Component { const topologyItemMsg = thereIsTopologyWidget? 'Currently only one is supported' : ''; return
- - - - - - - - - - - - - - + + + + + + + + + + + + + +