Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
use more accurate selector over search result
Browse files Browse the repository at this point in the history
  • Loading branch information
ys2843 committed May 13, 2020
1 parent e7219e8 commit 398a3a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions docs/static_site/src/_sass/globalSearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,18 @@
}

/* Main dropdown wrapper */
.algolia-autocomplete .ds-dropdown-menu {
.algolia-autocomplete .ds-dropdown-menu > div {
max-height: 60vw;
overflow-y: scroll;
}

#global-search-mobile-border .algolia-autocomplete .ds-dropdown-menu {
min-width: 80vw;
max-height: 90vw;
}

#global-search-mobile-border .algolia-autocomplete .ds-dropdown-menu > div {
min-width: 80vw;
max-height: 90vw;
}

.gs-search-border .algolia-autocomplete .ds-dropdown-menu {
Expand Down
2 changes: 1 addition & 1 deletion docs/static_site/src/assets/js/globalSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(document).ready(function () {
"0.11.0",
];

// bind docserach
// bind docsearch
const globalSearch = docsearch({
apiKey: "500f8e78748bd043cc6e4ac130e8c0e7",
indexName: "apache_mxnet",
Expand Down

0 comments on commit 398a3a1

Please sign in to comment.