sphinx-wagtail-theme
sphinx-wagtail-theme copied to clipboard
Issues with static/scrolling sidebar and algolia search results
- issue where overflow-x hidden was added but not required if hidden submit button wraps (not algolia specific necessarily)
- added search content (input and results) causes width of sidebar to make content wrap - maybe add nowrap to main container
- search results not able to be shown inside scrollable container - not sure on any practical fix to this
https://github.com/wagtail/wagtail/blob/main/docs/_static/css/custom.css
Notes
- Run Wagtail docs locally without the custom.css overrides - open the search results - observe they get cut off
- We should allow the hidden search submit button to wrap so that we do not need overflow-x-hidden
- Need to ensure that the outer container, on lg? devices (with .sidebar-container inside) should not wrap