diff --git a/ui/packages/shared/pages/Configuration/InputWithTooltip/index.tsx b/ui/packages/shared/pages/Configuration/InputWithTooltip/index.tsx index 1ec421e3bebde46ef5b57f556a5224b7c285736d..f13534a408dcaa07240e4312b09a346bd2b3b5d0 100644 --- a/ui/packages/shared/pages/Configuration/InputWithTooltip/index.tsx +++ b/ui/packages/shared/pages/Configuration/InputWithTooltip/index.tsx @@ -14,7 +14,7 @@ const useStyles = makeStyles( { textField: { '& .MuiOutlinedInput-notchedOutline': { - borderColor: '#000 !important', + borderColor: '#000', }, }, selectField: { @@ -27,6 +27,12 @@ const useStyles = makeStyles( backgroundColor: 'inherit', }, }, + label: { + display: 'block', + }, + error: { + color: '#f44336', + }, }, { index: 1 }, ) @@ -49,23 +55,35 @@ export const InputWithTooltip = ({ const classes = useStyles() return ( - - - {tooltipText()}

}> - -
+ + + + + {tooltipText()}

}> + +
+
) } @@ -94,8 +112,17 @@ export const InputWithChip = ({ const classes = useStyles() return ( - - + + + -
- {value && - uniqueChipValue(value) + {value && ( +
+ {uniqueChipValue(value) .split(' ') .map((uniqueValue, index) => { if (uniqueValue !== '') { @@ -139,7 +165,8 @@ export const InputWithChip = ({ ) } })} -
+
+ )}
) } @@ -164,15 +191,25 @@ export const SelectWithTooltip = ({ const classes = useStyles() return ( - - + + +