Skip to content

Commit 1d6fee7

Browse files
committed
fix(html): Add proper rendering of html headings in summary tags
1 parent 4961030 commit 1d6fee7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/html/templates/comrak.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@
4747
@apply space-y-3 shrink min-w-0 max-w-prose sm:max-w-screen-sm
4848
md:max-w-screen-md lg:max-w-[75ch];
4949

50+
summary {
51+
h1,h2,h3,h4,h5,h6 {
52+
display: inline-block;
53+
}
54+
}
55+
5056
h1 {
5157
@apply text-xl md:text-2xl lg:text-3xl border-b border-stone-300 pb-1
5258
dark:border-stone-700;

0 commit comments

Comments
 (0)