Skip to content

Image within sidebar overflows the width when set to 100% #119

Closed Answered by ma-sadeghi
ma-sadeghi asked this question in Potential Issue
Discussion options

You must be logged in to vote

I just found a fix. Instead of using image directive, I can use figure directive with figwidth attribute, which works fine without overflowing the container.

.. figure:: _static/images/image_based_ip.gif
   :figwidth: 100%
   :align: center

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pradyunsg
Comment options

Answer selected by pradyunsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants