You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! I see that my earlier request (#14) was merged and a new release with the theme is out (thanks! 🎉), but I wanted to highlight some potential areas of improvement and some workarounds that I have been using to add them:
1. Keyboard buttons are not correctly displayed2. Not available on smaller-width (mobile) devices (because of "navbar_persistent" I guess)
Some CSS fixes can be adopted for this:
/* Do not add custom padding for keyboard buttons */kbd:not(.compound) {
padding:0rem0rem;
}
kbd.DocSearch-Commands-Key {
border:0;
box-shadow:var(--docsearch-key-shadow);
margin:1px5px1px0px;
padding: inherit;
}
These styles change on every minor update to the PyData Sphinx Theme, say, between 0.15.X and 0.16.Y, so there's not a lot that can be done unless the theme provides first-class support for configuring search boxes (pydata/pydata-sphinx-theme#795)
Hi there! I see that my earlier request (#14) was merged and a new release with the theme is out (thanks! 🎉), but I wanted to highlight some potential areas of improvement and some workarounds that I have been using to add them:
1. Keyboard buttons are not correctly displayed
2. Not available on smaller-width (mobile) devices (because of "navbar_persistent" I guess)
Some CSS fixes can be adopted for this:
and some other improvements based on the styling for individual search results: https://github.com/pybamm-team/PyBaMM/blob/develop/docs/_static/pybamm.css#L107-L196. Not all of these are needed anymore, though, and this doesn't fix point 2, however...
The text was updated successfully, but these errors were encountered: