-
Notifications
You must be signed in to change notification settings - Fork 1k
image align and margins #4023
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
Comments
I will look into this. |
Assigned to @mila at the EuroPython sprints :) |
See pypa/readme_renderer#112 for a root cause. |
CSS code inspired on Spinx. Dependes on fixing pypa/readme_renderer#112.
The styles should be already present. Merged in #4391. |
I'm reopening this issue, because the code in readme-renderer that was merged as a result of pypa/readme_renderer#114 isn't actually going to work in all (most?) cases due to the reliance on the inline style attribute, which Warehouse blocks from working using our CSP policy, which we won't be relaxing. readme_renderer will need to emit css classes instead of inline styles in all casses. |
Actually going to close this again, since it was pointed out in pypa/readme_renderer#112 (comment) that this issue was about alignment, which is using classes, not about sizes which does not. |
Describe the bug
In long description of a project, an image is specified with
Unfortunately, the image is not centered. Also, there is no margin between the image and the preceding paragraph.
Expected behavior
To Reproduce
Please see bottom of the following page https://pypi.org/project/remt/.
My Platform
Browser: Chrome/Chromium
The text was updated successfully, but these errors were encountered: