1
1
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:
Kevin Heis 2022-02-27 23:27:55 -08:00 committed by GitHub
parent 30f29d3832
commit dab83198c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
Render headings inline when in a `<summary>`

View File

@ -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;
}
}
}