'VSCode menu bar and title bar is bigger than usual

I'm using VSCode Insiders and have recently been getting this problem where the menu bar and the title bar is bigger than usual. How can i fix this??

Here's a screenshot



Solution 1:[1]

You can just use the shortcut to decrease the size of the whole editor using:

Decrease the Size of the whole editor -> Ctrl + Minus(-)

Increase the Size of the whole editor -> Ctrl + Plus(+) Blockquote

Attached Demo of working

If the above solution doesn't work, check out the discussion link

Solution 2:[2]

You can create a nested dropdown with checkboxes with material ui

Here's the link you can view:

https://mui.com/components/checkboxes/

And here's the source code from material UI to achieve the result:

import * as React from 'react';
import Box from '@mui/material/Box';
import Checkbox from '@mui/material/Checkbox';
import FormControlLabel from '@mui/material/FormControlLabel';

export default function IndeterminateCheckbox() {
  const [checked, setChecked] = React.useState([true, false]);

  const handleChange1 = (event) => {
    setChecked([event.target.checked, event.target.checked]);
  };

  const handleChange2 = (event) => {
    setChecked([event.target.checked, checked[1]]);
  };

  const handleChange3 = (event) => {
    setChecked([checked[0], event.target.checked]);
  };

  const children = (
    <Box sx={{ display: 'flex', flexDirection: 'column', ml: 3 }}>
      <FormControlLabel
        label="Child 1"
        control={<Checkbox checked={checked[0]} onChange={handleChange2} />}
      />
      <FormControlLabel
        label="Child 2"
        control={<Checkbox checked={checked[1]} onChange={handleChange3} />}
      />
    </Box>
  );

  return (
    <div>
      <FormControlLabel
        label="Parent"
        control={
          <Checkbox
            checked={checked[0] && checked[1]}
            indeterminate={checked[0] !== checked[1]}
            onChange={handleChange1}
          />
        }
      />
      {children}
    </div>
  );
}

Here's the codesandbox link where I have combined the material UI component with the checkboxes.

https://codesandbox.io/s/indeterminatecheckbox-material-demo-forked-o0vvw?file=/demo.js:0-2222

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Avinash Kumar
Solution 2 ouflak