Merge pull request #3118 from Calinou/fix-navbar-long-links

Fix the display of very long class names in the navigation bar
This commit is contained in:
Rémi Verschelde
2020-01-29 02:14:00 +01:00
committed by GitHub

View File

@@ -547,6 +547,12 @@ code,
/* Second (and higher) levels of navigation items */
.wy-menu-vertical li.current a {
/* Make long words always display on a single line, keep wrapping for multiple words */
/* This fixes the class reference titles' display with very long class names */
display: flex;
}
.wy-menu-vertical li.current a,
.wy-menu-vertical li.toctree-l2.current > a,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a,