I can't get rid of this upper and extra area of the top accordion item. When I use variant filled, this extra area is only on the top item. If I use variant separated, the extra upper area is present on every item.
Markup :
<Center>
<Accordion variant="contained" transitionDuration={0} classNames={classes}
className={classes.root}>
{keysOf(problemList.value).map((key, index) => (
<Accordion.Item value={problemList.value[key]?.title}>
<Accordion.Control>{'#' + problemList.value[key].id + " " + problemList.value[key]?.title}</Accordion.Control>
<Accordion.Panel>
<div dangerouslySetInnerHTML={{__html: problemList.value[key]?.content}}></div>
</Accordion.Panel>
</Accordion.Item>
)
)}
</Accordion>
</Center>