Red Hat Bugzilla – Bug 783862
programlistings are not evenly spaced between other elements
Last modified: 2012-10-30 23:11:54 EDT
Description of problem:
If you have a program listing between two paragraphs, the spacing is not uneven. There is less space after the a program listing than after a paragraph. This looks odd. I can only definitively see this in html because I can use an inspector to view the CSS values. PDF I am not sure about completely, but it does look strange if an admonition follows a program listing.
In the HTML output there is less space between the listing and the 2nd paragraph than the 1st paragraph and the listing.
The paragraphs and program listings are evenly spaced.
This seems to be fixable in html by changing common.css, so there is the same margin after pre blocks as others.
Created attachment 556834 [details]
as it appears in html currently (0.3em)
Created attachment 556835 [details]
html when margin is set to 1em
Created attachment 556836 [details]
How the PDF of the same content looks currently
Thanks Darrin; moving this upstream.
This looks to have been fixed in P3 by the general restyle.
Verified equality of vertical space between pata and programlisting elements presented as example in c#1.
OS: Fedora 16
Release designation: publican-3.0-0.fc16.t166.src.rpm