Skip to content

Commit

Permalink
fix: display of Headers within Details Summary (#4491)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
broxen committed Oct 2, 2021
1 parent 14cb17c commit 8aa0231
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions client/themes/default/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down

0 comments on commit 8aa0231

Please sign in to comment.