executablebooks / sphinx-book-theme

A clean book theme for scientific explanations and documentation with Sphinx
https://sphinx-book-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
429 stars 198 forks source link

Content boxes are different when they have images in them. #709

Open fmaussion opened 1 year ago

fmaussion commented 1 year ago

Describe the bug

This is a little bit of nitpicking, but consider the following page:

https://glims-rgi.github.io/rgi_user_guide/regions/rgi09.html

Screenshot:

image

The first two boxes are different than the third one. The only difference in code (that I can see) is that the first two ones open with an image.

It's not a big deal but once you have seen it you can't "unsee" it ;-)

Reproduce the bug

See the markdown of the page here: https://github.com/GLIMS-RGI/rgi_user_guide/blob/main/docs/regions/rgi09.md

List your environment

Jupyter Book      : 0.15.1
External ToC      : 0.3.1
MyST-Parser       : 0.18.1
MyST-NB           : 0.17.1
Sphinx Book Theme : 1.0.0
Jupyter-Cache     : 0.5.0
NbClient          : 0.5.13