Skip to content
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

Fix scaling of diagrams in docs #4874

Merged
merged 1 commit into from
Oct 7, 2019
Merged

Fix scaling of diagrams in docs #4874

merged 1 commit into from
Oct 7, 2019

Conversation

eloquence
Copy link
Member

Resolves #4873

Status

Ready for review.

Testing

I can't easily test the prod rendering, and I don't know why the themes are different between prod and dev. That said, if I manually alter the generated inline styles on docs.securedrop.org in the inspector to the width:100% that the :width: rule generates in my dev env, the diagrams render correctly with the prod CSS, so this should work, or at the very least have no negative side effects.

Workaround taken from readthedocs/sphinx_rtd_theme#630

Copy link
Contributor

@zenmonkeykstop zenmonkeykstop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Images scale appropriately, all looks good

@zenmonkeykstop zenmonkeykstop merged commit 798dfef into develop Oct 7, 2019
@legoktm legoktm deleted the docs-fix-scaling branch January 9, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overview and data flow images are distorted in RTD build
2 participants