Move header CSS classes (such as "method"/"function"/etc) from h3/h4 into their parent #84829
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
This issue comes from this discussion. Moving the CSS classes into the
<summary>
parent or into the<details>
grand-parent would allow to simplify the JS handling and keep the HTML size the same.To be discussed when @jsha when he's back. :)
The text was updated successfully, but these errors were encountered: