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

Images (<img>) with .align-center do not have margin-bottom #1453

Open
nemesifier opened this issue Mar 30, 2023 · 0 comments
Open

Images (<img>) with .align-center do not have margin-bottom #1453

nemesifier opened this issue Mar 30, 2023 · 0 comments
Labels
Bug A bug Needed: replication Bug replication is required

Comments

@nemesifier
Copy link

Problem

Image which have .align-center get their margin-bottom CSS property reset by this:

.align-center
margin: auto

This looks like a regression introduced in one of the recent versions to me.

And hence have no margin-bottom.

Reproducible Project

https://github.com/openwisp/openwisp2-docs

.. image:: https://raw.githubusercontent.com/openwisp/openwisp-monitoring/docs/docs/cpu-load.png
    :target: https://raw.githubusercontent.com/openwisp/openwisp-monitoring/docs/docs/cpu-load.png
    :align: center

Error Logs/Results

Screenshot from 2023-03-30 14-22-01

Expected Results

Screenshot from 2023-03-30 14-23-17

Environment Info

  • Python Version: 3.8.10
  • Sphinx Version: 6.1.3
  • RTD Theme Version: 1.2.0
@nemesifier nemesifier added Bug A bug Needed: replication Bug replication is required labels Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug Needed: replication Bug replication is required
Projects
None yet
Development

No branches or pull requests

1 participant