Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix selection of parameter names in HTML theme
Parameters are written in HTML as (leaving out some internal classes): ``` <strong>name</strong><span class="classifier"><a><code><span>TypeName</span></code></a></span> ``` but in rendered form there's a colon between the name and type. This colon is inserted virtually using CSS, but since it doesn't exist, the browser thinks both sides are part of the same word. Styling the virtual text as inline block makes it be treated as a break, but also makes it apply vertical margins, so we need to set those to zero again. See matplotlib/matplotlib#21432
- Loading branch information