Closed Ulthran closed 1 year ago
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:
Hey, thanks for getting in touch! This is the default appearance for HTML buttons, so it seems like the package CSS isn't being included in your build for some reason. I don't know how RTD is doing the build, so I'd suggest trying a manual build locally to check if this still occurs - let me know if it does and I can try to reproduce it
Tabs intentionally close when you click the open tab. This can be configured (see the docs)
Thanks @foster999, I commented out these lines from conf.py
:
#html_static_path = ['_static']
#html_context = {
# 'css_files': [
# '_static/theme_overrides.css', # override wide tables in RTD theme
# ],
# }
and added sphinx_tabs_disable_tab_closing = True
and that seems to have fixed my problems.
Great, glad that worked out ☺️
Describe the bug
context Using the first example from the docs:
expectation I expect it to look normal.
bug It renders the tabs as buttons.
problem Looks bad and if you click the active 'tab' it will close entirely (i.e. not display anything but the 'tabs').
^ same example after clicking on "Apples"
Reproduce the bug
This is happening on this project at this commit https://github.com/sunbeam-labs/sunbeam/pull/378/commits/4696e22bb3931c76ec2b16405ef8600aa4f1f4ff on the quickstart page of the docs
https://sunbeam--378.org.readthedocs.build/en/378/quickstart.html
List your environment
conf.py