From fc99d507f0f3cc2c077563e28b64e7efbe6ee0c0 Mon Sep 17 00:00:00 2001 From: Alex P Date: Wed, 14 Mar 2018 22:13:27 -0700 Subject: [PATCH] Add margin above thresholds list if not first item in controls panel --- ui/src/shared/components/ThresholdsList.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/shared/components/ThresholdsList.js b/ui/src/shared/components/ThresholdsList.js index 998e57afb7..d311ac5996 100644 --- a/ui/src/shared/components/ThresholdsList.js +++ b/ui/src/shared/components/ThresholdsList.js @@ -115,8 +115,11 @@ class ThresholdsList extends Component { const {thresholdsListColors, showListHeading} = this.props const disableAddThreshold = thresholdsListColors.length > MAX_THRESHOLDS + const thresholdsListClass = `thresholds-list${showListHeading && + ' graph-options-group'}` + return ( -
+
{showListHeading && }