Skip to content

Commit

Permalink
added summary style
Browse files Browse the repository at this point in the history
  • Loading branch information
freekDraad committed Jan 10, 2025
1 parent 8363152 commit b731d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/document-map/src/document-map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ function DocumentMap({
{displayResourceInfo === 'right' && (
<section className="content-intro desktoponly">
{resource.title ? <Heading level={1}>{resource.title}</Heading> : null}
{resource.summary ? <Paragraph>{resource.summary}</Paragraph> : null}
{resource.summary ? <Heading level={2} appearance='utrecht-heading-4' dangerouslySetInnerHTML={{ __html: resource.summary }}></Heading> : null}

{(displayResourceDescription === 'yes' && resource.description) ? <Paragraph dangerouslySetInnerHTML={{ __html: resource.description }} /> : null}

Expand Down

0 comments on commit b731d3d

Please sign in to comment.