Skip to content

Commit ffcb84e

Browse files
dependabot[bot]pyansys-ci-botRevathyvenugopal162jorgepiloto
authored
chore(deps): update pydata-sphinx-theme requirement from <0.16,>=0.15.4 to >=0.15.4,<0.17 (#562)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Co-authored-by: Revathyvenugopal162 <revathy.venugopal@ansys.com> Co-authored-by: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com> Co-authored-by: Jorge Martínez <28702884+jorgepiloto@users.noreply.github.com>
1 parent ff89444 commit ffcb84e

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

doc/changelog.d/562.dependencies.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
chore(deps): update pydata-sphinx-theme requirement from <0.16,>=0.15.4 to >=0.15.4,<0.17

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ classifiers = [
2424
]
2525
dependencies = [
2626
"Sphinx>=4.2.0",
27-
"pydata-sphinx-theme>=0.15.4,<0.16",
27+
"pydata-sphinx-theme>=0.15.4,<0.17",
2828
"Jinja2>=3.1.2",
2929
"importlib-metadata>=4.0",
3030
"pdf2image>=1.17.0",

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/components/breadcrumbs.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<li class="breadcrumb-item">{{ doc.title }}</li>
4141
{% endif %} {%- endfor %} {# Current page title #} {% if title and pagename
4242
!= root_doc %}
43-
<li class="breadcrumb-item active" aria-current="page">{{ title }}</li>
43+
<li class="breadcrumb-item active" aria-current="page"><span class="ellipsis">{{ title }}</span></li>
4444
{% endif %}
4545
</ul>
4646
</nav>

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/components/search-button-field.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<div class="search-bar" id="search-bar">
2+
<div class="search-bar pst-js-only" id="search-bar">
33
<form class="bd-search d-flex align-items-center" action="{{ pathto('search') }}" method="get">
44
<i class="fa-solid fa-magnifying-glass"></i>
55
<input type="search" class="form-control" name="q" placeholder="{{ theme_search_bar_text }}"

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ast-search.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ html[data-theme="light"] .highlight {
4949
color: var(--ast-highlight-color);
5050
}
5151

52+
.bd-search input.form-control,
53+
.bd-search input.form-control:focus,
54+
.bd-search input.form-control:focus-visible,
5255
.form-control:focus,
5356
.form-control:focus-visible,
5457
.form-control {
@@ -100,7 +103,8 @@ html[data-theme="light"] .highlight {
100103
color: var(--ast-search-bar-enable-text);
101104
}
102105

103-
.form-control:focus {
106+
.form-control:focus,
107+
.bd-search:focus-within {
104108
box-shadow: none;
105109
}
106110

@@ -118,7 +122,7 @@ html[data-theme="light"] .highlight {
118122
margin-bottom: 0px;
119123
}
120124

121-
.bd-search input.expanded {
125+
.bd-search input.form-control.expanded {
122126
width: 600px;
123127
}
124128

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/js/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const SEARCH_BAR = document.getElementById("search-bar");
2-
const SEARCH_INPUT = SEARCH_BAR.querySelector(".bd-search input");
2+
const SEARCH_INPUT = SEARCH_BAR.querySelector(".bd-search input.form-control");
33
const RESULTS = document.getElementById("search-results");
44
const MAIN_PAGE_CONTENT = document.querySelector(".bd-main");
55
let CURRENT_INDEX = -1;

0 commit comments

Comments
 (0)