Skip to content

Commit

Permalink
Add div wrapper around tags in comment partial.
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   src/lib/output/themes/default/partials/comment.tsx
  • Loading branch information
lriggle-strib committed Oct 3, 2024
1 parent 81fec38 commit 2445045
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/lib/output/themes/default/partials/comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ export function commentTags(context: DefaultThemeRenderContext, props: Reflectio

return (
<>
<h4 class="tsd-anchor-link">
<a id={anchor} class="tsd-anchor"></a>
{name}
{anchorIcon(context, anchor)}
</h4>
<Raw html={context.markdown(item.content)} />
<div class={`tsd-tag-${name}`}>
<h4 class="tsd-anchor-link">
<a id={anchor} class="tsd-anchor"></a>
{name}
{anchorIcon(context, anchor)}
</h4>
<Raw html={context.markdown(item.content)} />
</div>
</>
);
})}
Expand Down

0 comments on commit 2445045

Please sign in to comment.