Skip to content

Commit d56cb26

Browse files
authored
fix(html): Add proper rendering of html headings in summary tags (#719)
1 parent 4961030 commit d56cb26

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
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;

src/html/templates/comrak.gen.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)