We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cannot change line-height through custom theme CSS:
Set maximum_signature_line_length = 1 in Sphinx conf.py. Generate any python docs.
conf.py
Other themes show much more reasonable line-height, or give the ability to change line-height.
The text was updated successfully, but these errors were encountered:
Possibly fixed by #1450? In the meantime, I've found adding some custom CSS does fix this for me:
/* Take out pointless vertical whitespace in the signatures. */ .rst-content dl .sig dl, .rst-content dl .sig dd { margin-bottom: 0; } /* Make signature boxes full-width, with view-source and header links right-aligned. */ .rst-content dl .sig { width: -webkit-fill-available; } .rst-content .viewcode-link { display: inline-flex; float: inline-end; margin-right: 1.5em; } .rst-content .headerlink { position: absolute; right: 0.5em; }
Sorry, something went wrong.
No branches or pull requests
Problem
Cannot change line-height through custom theme CSS:
Project to reproduce
Set maximum_signature_line_length = 1 in Sphinx
conf.py
. Generate any python docs.Error Logs/Results
Other themes show much more reasonable line-height, or give the ability to change line-height.
Environment Info
The text was updated successfully, but these errors were encountered: