mirror of
https://github.com/primer/css.git
synced 2024-11-26 02:38:32 +03:00
In markdown, update summary > heading style (#1949)
* In markdown, update summary > heading style * Update headings.scss * Create tall-experts-hammer.md * Update headings.scss * Update headings.scss * Update headings.scss * Run stylelint Co-authored-by: simurai <simulus@gmail.com>
This commit is contained in:
parent
30f29d3832
commit
dab83198c3
5
.changeset/tall-experts-hammer.md
Normal file
5
.changeset/tall-experts-hammer.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
Render headings inline when in a `<summary>`
|
@ -71,4 +71,21 @@
|
||||
font-size: 0.85em;
|
||||
color: var(--color-fg-muted);
|
||||
}
|
||||
|
||||
summary {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
padding-bottom: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user