shazahm1 / WP-Syntax

WP-Syntax WordPress Plugin
connections-pro.com
GNU General Public License v2.0
13 stars 11 forks source link

Remove horizontal padding from caption #13

Closed sionleroux closed 7 years ago

sionleroux commented 11 years ago

The caption has 2px padding on every side which causes it to be 4px longer on the right than the other elements caption-too-long

which causes an unnecessary scrollbar on the box containing the code. not-nice

This can be solved by setting the horizontal padding to 0 so that it only has padding above and below. You can still tell that the element is separate from the code (presumably the original intention of the padding) but now it doesn't cause the scrollbar to appear. nice-n-sexy