[DOCS] Adds child_attributes CSS role#1786
Conversation
|
@lcawl, This is super cool! Question, would it be worth reconsidering the background color used for these collapsed sections? The color used, IMO, this makes it difficult to differentiate between inline code and regular text inside of collapsed sections. At the same time, code snippets are still monospaced, which does help, so I'm not sure how important this really is 🤷♂. Here's an example: |
|
@bmorelli25 Thanks for taking a look! As far as I'm concerned, improvements to the stylesheet are very welcome. I just copied the "sidebar" stylesheet then changed the blue outline to grey and minimized the padding. If you create a PR that makes it prettier or more easily to differentiate, I'm all for it. |


This PR creates a stylesheet with a border around collapsed sections (detail/summary objects). It's intended for use in nested objects on API reference pages.