diff --git a/plugins/woocommerce-admin/client/dashboard/dashboard-charts/index.js b/plugins/woocommerce-admin/client/dashboard/dashboard-charts/index.js
index 416a1b3a6b5..a89d9221edc 100644
--- a/plugins/woocommerce-admin/client/dashboard/dashboard-charts/index.js
+++ b/plugins/woocommerce-admin/client/dashboard/dashboard-charts/index.js
@@ -64,17 +64,6 @@ class DashboardCharts extends Component {
label={ __( 'Choose which charts to display', 'woocommerce-admin' ) }
renderContent={ ( { onToggle } ) => (
- { window.wcAdminFeatures[ 'analytics-dashboard/customizable' ] && (
-
-
-
- ) }
{ __( 'Charts', 'woocommerce-admin' ) }
{ uniqCharts.map( chart => {
return (
@@ -90,13 +79,24 @@ class DashboardCharts extends Component {
);
} ) }
{ window.wcAdminFeatures[ 'analytics-dashboard/customizable' ] && (
-
+
+
+
+
+
+
) }
) }
diff --git a/plugins/woocommerce-admin/client/dashboard/dashboard-charts/style.scss b/plugins/woocommerce-admin/client/dashboard/dashboard-charts/style.scss
index 8f9923f39d2..5ef59d5264d 100644
--- a/plugins/woocommerce-admin/client/dashboard/dashboard-charts/style.scss
+++ b/plugins/woocommerce-admin/client/dashboard/dashboard-charts/style.scss
@@ -16,16 +16,3 @@
margin: 0;
}
}
-
-.woocommerce-section-controls {
- border-top: $border-width solid $core-grey-light-500;
-
- .dashicon {
- margin: 0 $gap-smaller 0 0;
- vertical-align: bottom;
- }
-
- .woocommerce-ellipsis-menu__item {
- padding-bottom: 10px;
- }
-}
diff --git a/plugins/woocommerce-admin/client/dashboard/leaderboards/index.js b/plugins/woocommerce-admin/client/dashboard/leaderboards/index.js
index ffb63f56807..0a7ddfeb9e6 100644
--- a/plugins/woocommerce-admin/client/dashboard/leaderboards/index.js
+++ b/plugins/woocommerce-admin/client/dashboard/leaderboards/index.js
@@ -62,17 +62,6 @@ class Leaderboards extends Component {
) }
renderContent={ ( { onToggle } ) => (
- { window.wcAdminFeatures[ 'analytics-dashboard/customizable' ] && (
-
-
-
- ) }
{ __( 'Leaderboards', 'woocommerce-admin' ) }
{ allLeaderboards.map( leaderboard => {
return (
@@ -89,7 +78,7 @@ class Leaderboards extends Component {
} ) }
{ __( 'Rows Per Table', 'woocommerce-admin' ) } }
+ label={ __( 'Rows Per Table', 'woocommerce-admin' ) }
value={ rowsPerTable }
options={ Array.from( { length: 20 }, ( v, key ) => ( {
v: key + 1,
@@ -98,13 +87,24 @@ class Leaderboards extends Component {
onChange={ this.setRowsPerTable }
/>
{ window.wcAdminFeatures[ 'analytics-dashboard/customizable' ] && (
-
+
+
+
+
+
+
) }
) }
diff --git a/plugins/woocommerce-admin/client/dashboard/section-controls.js b/plugins/woocommerce-admin/client/dashboard/section-controls.js
index ab6ea77c028..a769ab1e81a 100644
--- a/plugins/woocommerce-admin/client/dashboard/section-controls.js
+++ b/plugins/woocommerce-admin/client/dashboard/section-controls.js
@@ -36,7 +36,7 @@ class SectionControls extends Component {
const { onRemove, isFirst, isLast } = this.props;
return (
-
+
{ ! isFirst && (