New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Big copybutton the RTD Theme #69
Comments
holy moly! that is huge :-) I haven't seen that on the RTD theme before. Do you think you could try using the "master" branch and see if that fixes it? And if so, we can make a new release |
Well to add on each code cell that image would enlarge my content of the page drastically ;-) Like your css is not taken into consideration. I've also tried adding my own css but this has also no effect:
|
It was my error why the master had no button, I corrected it but got the same error as on the pip install version. |
FYI the RTD theme works fine for me: https://17-145482568-gh.circle-artifacts.com/0/html/intro/get_started.html#quick-installation |
The problem comes from extending the css to better handle the table width. There is this issue in the sphinx_rtd_theme repository. I copy the code from a comment fixing the issue, but generating the problem described in this issue: /* _static/theme_overrides.css */
/* override table width restrictions */
.wy-table-responsive table td, .wy-table-responsive table th {
white-space: normal;
}
.wy-table-responsive {
margin-bottom: 24px;
max-width: 100%;
overflow: visible;
} # conf.py
html_static_path = ['_static']
html_context = {
'css_files': [
'_static/theme_overrides.css', # overrides for wide tables in RTD theme
],
} @chrisjsewell The link you posted does not work anymore. |
@choldgraf Did you have time to look into this issue based on my comment? |
I haven't had time - but I am more than happy to review a PR from somebody that both
👍 |
I don't know why and what has changed, but this problem no longer happens since
Edit: Just to document, that it really works: custom CSS from the issue I mentioned in #69 (comment): https://github.com/swaldhoer/native-lua/blob/a4d4f83fe16f2248b61d62ef740e6492a33869fd/docs/_static/custom.css |
How can I make the svg image smaller using the CSS? In case of the RTD Theme the button appears huge.
The text was updated successfully, but these errors were encountered: