openstackdocstheme sphinx theme doesn't insert padding after a table
Bug #1439918 reported by
Tom Fifield
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Medium
|
Bernd Bausch |
Bug Description
If you have a table followed by a code block, the theme will render them as directly next to each other. I think it makes sense to have at least a small amount of space between the bottom of the table and the next block
To test - something like this:
========== =======
Parameter Description Values
========== =======
cake cake cake
========== =======
.. code-block:: python
pass
Changed in openstack-manuals: | |
status: | New → Confirmed |
Changed in openstack-manuals: | |
importance: | Undecided → Medium |
Changed in openstack-manuals: | |
assignee: | nobody → Bernd Bausch (berndbausch) |
To post a comment you must log in.
This is not limited to a code block after a table, but also a normal text paragraph after a table <p>. My guess is that any element will follow a table without sufficient space.
Using pure Sphinx without openstackdocstheme, there is a space. Firebug reveals that the table itself has no margins around it, but a paragraph coming after a table has an upper and a lower margin. With openstackdocstheme, the paragraph has no upper margin, which explains the lack of vertical space.
I would investigate how upper margins can be added to all affected elements and if this would break openstackdocstheme somewhere else. Right now I can't commit the time for this.