diff --git a/src/pydata_sphinx_theme/assets/styles/sections/_sidebar-secondary.scss b/src/pydata_sphinx_theme/assets/styles/sections/_sidebar-secondary.scss index 34b65e30c..19563a48c 100644 --- a/src/pydata_sphinx_theme/assets/styles/sections/_sidebar-secondary.scss +++ b/src/pydata_sphinx_theme/assets/styles/sections/_sidebar-secondary.scss @@ -62,11 +62,12 @@ div#searchbox { a { // add icon via CSS because the link is created by javascript // match padding to .toc-item > i above - // f010 is magnifying glass minus &:before { content: var(--pst-icon-search-minus); + color: unset; // make sure it uses the same color as the text font-family: "Font Awesome 6 Free"; padding-right: 0.5rem; + margin-right: 0; } } }