fix: display of Headers within Details Summary (#4491)

* Header formatting for Details Summary

Cleaning up Headers within Details Summary

* Fix for TOC Anchor location

Fix for TOC Anchor location within Details Summary

* display: none for the keyline seems smarter

* Fixes to accommodate large summaries

Fixed to accommodate larger summaries containing both headers and phrasing text. Still removing keylines for summaries with ONLY a header.
This commit is contained in:
broxen 2021-10-01 17:21:46 -07:00 committed by GitHub
parent 14cb17c227
commit 8aa02318b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -813,6 +813,19 @@
outline: none;
background-color: mc('grey', '100');
}
> h1, h2, h3, h4, h5, h6 {
width: 95%;
display: inline-block;
&:first-child {
margin-top: 0;
}
&:only-child::after {
display: none;
}
}
}
&[open] {