diff --git a/frontend/src/container/NewWidget/RightContainer/Threshold/Threshold.tsx b/frontend/src/container/NewWidget/RightContainer/Threshold/Threshold.tsx index b64c5b26e6..a35acabf64 100644 --- a/frontend/src/container/NewWidget/RightContainer/Threshold/Threshold.tsx +++ b/frontend/src/container/NewWidget/RightContainer/Threshold/Threshold.tsx @@ -27,6 +27,10 @@ import CustomColor from './CustomColor'; import ShowCaseValue from './ShowCaseValue'; import { ThresholdProps } from './types'; +const wrapStyle = { + flexWrap: 'wrap', +} as React.CSSProperties; + function Threshold({ index, thresholdOperator = '>', @@ -220,7 +224,7 @@ function Threshold({ } > {selectedGraph === PANEL_TYPES.TIME_SERIES && ( - <> + Label {isEditMode ? ( )} - + )} {(selectedGraph === PANEL_TYPES.VALUE || selectedGraph === PANEL_TYPES.TABLE) && ( @@ -243,7 +247,7 @@ function Threshold({ {isEditMode ? ( <> {selectedGraph === PANEL_TYPES.TABLE && ( - +