Not always the caption correction setting is reset to zero.

Steps to reproduce:

  • Set a caption style.
  • Save.
  • Remove border and shadow.
  • Save.

Comments

lolandese’s picture

Issue tags: +Novice
lolandese’s picture

Issue tags: +Config novice
lolandese’s picture

lolandese’s picture

Status: Active » Needs review
StatusFileSize
new4.77 KB
lolandese’s picture

StatusFileSize
new7.96 KB

Patch (in addition to the previous) to save some more improvements before implementing an easier way to assure the caption always has the same width as the image. See http://stackoverflow.com/questions/6593425/best-method-to-fit-a-child-di....

lolandese’s picture

StatusFileSize
new16.58 KB

Patch (in addition to the #4 patch) to get rid of the caption correction completely. Solved with CSS only.

To check if we can eliminate unused $width and or $height variables in the code. Needs furthermore extensive testing.

lolandese’s picture

StatusFileSize
new18.78 KB

A commit candidate.

  • lolandese committed a9b1f29 on 7.x-1.x
    Issue #2402117 by lolandese: Making the caption padding correction...
lolandese’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.