We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30f29d3 commit dab8319Copy full SHA for dab8319
.changeset/tall-experts-hammer.md
@@ -0,0 +1,5 @@
1
+---
2
+"@primer/css": patch
3
4
+
5
+Render headings inline when in a `<summary>`
src/markdown/headings.scss
@@ -71,4 +71,21 @@
71
font-size: 0.85em;
72
color: var(--color-fg-muted);
73
}
74
75
+ summary {
76
+ h1,
77
+ h2,
78
+ h3,
79
+ h4,
80
+ h5,
81
+ h6 {
82
+ display: inline-block;
83
+ }
84
85
86
+ h2 {
87
+ padding-bottom: 0;
88
+ border-bottom: 0;
89
90
91
0 commit comments