79187036

Date: 2024-11-14 00:22:55
Score: 2.5
Natty:
Report link

Answer is in the docs https://mui.com/material-ui/api/accordion/

If you want to stop the gap between accordions when expanded type add "disableGutters" within in the <Accordion tag e.g. <Accordion disableGutters key={listId} defaultExpanded sx={{ backgroundColor: "#c12", color: "white" }}

that removes the default gutter gaps between accordions

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Fran Hughes