Skip to content

Commit 774ae87

Browse files
committed
Limit right sidebar to two levels
Brings bluerobotics/ping-python#150 improvement so that it is available in all projects. cc/ @ES-Alexander
1 parent ce55452 commit 774ae87

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • sphinx_blue_robotics_theme/static/css

sphinx_blue_robotics_theme/static/css/main.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,11 @@ body[data-md-color-scheme="slate"] .md-header--shadow {
294294
display: none;
295295
}
296296

297+
/* Hide third level of secondary sidebar onwards */
298+
.md-sidebar--secondary .md-nav__list .md-nav__list .md-nav__list {
299+
display: none;
300+
}
301+
297302
/* Content */
298303
article h1,
299304
.md-typeset h1 {

0 commit comments

Comments
 (0)