Skip to content

Commit 2445045

Browse files
committed
Add div wrapper around tags in comment partial.
Changes to be committed: modified: src/lib/output/themes/default/partials/comment.tsx
1 parent 81fec38 commit 2445045

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/lib/output/themes/default/partials/comment.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@ export function commentTags(context: DefaultThemeRenderContext, props: Reflectio
3939

4040
return (
4141
<>
42-
<h4 class="tsd-anchor-link">
43-
<a id={anchor} class="tsd-anchor"></a>
44-
{name}
45-
{anchorIcon(context, anchor)}
46-
</h4>
47-
<Raw html={context.markdown(item.content)} />
42+
<div class={`tsd-tag-${name}`}>
43+
<h4 class="tsd-anchor-link">
44+
<a id={anchor} class="tsd-anchor"></a>
45+
{name}
46+
{anchorIcon(context, anchor)}
47+
</h4>
48+
<Raw html={context.markdown(item.content)} />
49+
</div>
4850
</>
4951
);
5052
})}

0 commit comments

Comments
 (0)