Explorar o código

update connect ui

tumao %!s(int64=4) %!d(string=hai) anos
pai
achega
6b4a008ff4

+ 2 - 1
client/src/components/customInput/CustomInput.tsx

@@ -65,7 +65,7 @@ const handleOnChange = (param: IChangeParam) => {
 
 const getAdornmentStyles = makeStyles(theme => ({
   icon: {
-    color: '#82838e',
+    color: theme.palette.milvusGrey.dark,
   },
 }));
 
@@ -217,6 +217,7 @@ const getTextfield = (
           ? { ...inputProps, ...defaultInputProps }
           : { ...defaultInputProps }
       }
+      error={info?.result}
       InputProps={InputProps ? { ...InputProps } : {}}
       helperText={
         info && info.result && info.errText

+ 1 - 0
client/src/pages/connect/Connect.tsx

@@ -24,6 +24,7 @@ const useStyles = makeStyles((theme: Theme) => ({
   },
   titleWrapper: {
     display: 'flex',
+    alignItems: 'center',
     padding: theme.spacing(3),
     margin: '0 auto',