Fix styling issues in the sidebar

This commit is contained in:
Yuri Sizov
2022-11-22 04:55:33 +03:00
parent b3f571cf54
commit f8bab050a5
2 changed files with 6 additions and 0 deletions

View File

@@ -1030,6 +1030,7 @@ kbd.compound > .kbd,
.wy-menu-vertical li a button.toctree-expand {
position: relative;
width: 12px;
min-width: 12px; /* Forces the size to stay this way in the flexbox model. */
height: 18px;
}

View File

@@ -324,3 +324,8 @@ $(document).ready(() => {
registerOnScrollEvent(mediaQuery);
}
});
// Override the default implementation from doctools.js to avoid this behavior.
Documentation.highlightSearchWords = function() {
// Nope.
}