Browse Source

fix vector search page style

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
ruiyi.jiang 1 year ago
parent
commit
481eb7b694
1 changed files with 2 additions and 3 deletions
  1. 2 3
      client/src/pages/search/Styles.ts

+ 2 - 3
client/src/pages/search/Styles.ts

@@ -66,8 +66,8 @@ export const getVectorSearchStyles = makeStyles((theme: Theme) => ({
     display: 'flex',
     flexDirection: 'column',
     flexGrow: 0,
-    width: '100%',
-    padding: theme.spacing(1),
+    width: `calc(100% - 396px)`,
+    padding: theme.spacing(1, 2),
   },
   toolbar: {
     display: 'flex',
@@ -79,7 +79,6 @@ export const getVectorSearchStyles = makeStyles((theme: Theme) => ({
       alignItems: 'center',
 
       '& .text': {
-        color: theme.palette.attuGrey.main,
       },
     },
     '& .right': {