Browse Source

fix: use `auto` for the database selector width (#802)

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
ryjiang 3 months ago
parent
commit
7b5eeb39d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/src/components/layout/Header.tsx

+ 1 - 1
client/src/components/layout/Header.tsx

@@ -71,7 +71,7 @@ const Title = styled(Typography)(({ theme }) => ({
 
 const DatabaseSelector = styled(CustomSelector)(({ theme }) => ({
   transform: 'translateY(-4px)',
-  width: theme.spacing(16),
+  width: 'auto',
   '& .MuiInputLabel-root': {
     top: '4px',
   },