mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-05 11:33:06 +03:00
fix: remove extra-padding caused by empty group sections
This commit is contained in:
parent
505463f5ab
commit
974bc7ddb0
|
@ -49,9 +49,11 @@ export class ContentItem extends React.Component<ContentItemProps> {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
{content && (
|
||||||
<Section id={item.id} underlined={item.type === 'operation'}>
|
<Section id={item.id} underlined={item.type === 'operation'}>
|
||||||
{content}
|
{content}
|
||||||
</Section>
|
</Section>
|
||||||
|
)}
|
||||||
{item.items && <ContentItems items={item.items} />}
|
{item.items && <ContentItems items={item.items} />}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user