1
Fork 0

rustdoc: remove redundant div.search-container

This wrapper DIV was originally added in
89e1fb3223, when it allowed the search bar's
size to be calculated without using `calc()`. This `width` hack can be
removed using flexbox.
This commit is contained in:
Michael Howell 2022-10-27 13:36:27 -07:00
parent 126dbdc9c7
commit 509d8ad454
3 changed files with 24 additions and 31 deletions

View file

@ -932,7 +932,7 @@ function loadCss(cssFileName) {
* Hide all the popover menus.
*/
window.hidePopoverMenus = function() {
onEachLazy(document.querySelectorAll(".search-container .popover"), elem => {
onEachLazy(document.querySelectorAll(".search-form .popover"), elem => {
elem.style.display = "none";
});
};