Skip to content

Commit

Permalink
doc: update the limit and size of search bar. (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
Revathyvenugopal162 authored Aug 3, 2023
1 parent 946f5d4 commit 20013a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
enableDarkMode: "auto",
debug: true, // Set debug to true if you want to inspect the dropdown
meilisearchOptions: {
limit: 10,
limit: 1000,
},
});

Expand Down
11 changes: 11 additions & 0 deletions src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@
{%- include "sections/header.html" %}
</nav>
{% endblock docs_navbar %}
<style>
.bd-main .bd-content .bd-article-container {
display: flex;
flex-direction: column;
justify-content: start;
max-width: 70em;
overflow-x: auto;
padding: 1rem;
width: 100%;
}
</style>
<div class="bd-container">
<div class="bd-container__inner bd-page-width">
{# Primary sidebar #}
Expand Down

0 comments on commit 20013a1

Please sign in to comment.