-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
context
I'm trying to show an image across the whole content area including the sidebar.
I can see the same behaviour in the official manual on readthedocs.
I tested this with both Firefox and Falkon, a Chromium based browser. The <div> gets three classes: full-width, docutils and container. It works if only one of docutils and container is used/active/applied, but not when both of them are.
expectation
I expect the image to use the full width of the content area, just as with the code cell or the full-width equation.
bug
The image is scaled to the content area without taking the sidebar into account.
Reproduce the bug
This is the snippet I'm using in my index.rst.
.. container:: full-width
.. image:: screenshot.png
List your environment
I'm using sphinx-book-theme 1.1.4 with sphinx 8.1.3.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working