Image within sidebar overflows the width when set to 100% #119
-
Here's part of my .. sidebar:: Highlight
The animation below shows the end result of an image-based invasion
percolation algorithm developed in PMEAL and implemented in PoreSpy.
Unlike physics-based approaches like the Lattice-Boltzmann method, our
approach is very quick and almost runs instantly on average-size
images.
.. image:: _static/images/image_based_ip.gif
:width: 100%
:align: center |
Beta Was this translation helpful? Give feedback.
Answered by
ma-sadeghi
Apr 1, 2021
Replies: 1 comment 1 reply
-
I just found a fix. Instead of using .. figure:: _static/images/image_based_ip.gif
:figwidth: 100%
:align: center |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pradyunsg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just found a fix. Instead of using
image
directive, I can usefigure
directive withfigwidth
attribute, which works fine without overflowing the container.