Steps to reproduce
- Insert a gallery with a caption and few (1-4) images into any Wikipedia page and save. You can use the following example:
<gallery caption="Běžné chemické sloučeniny s dvojnou vazbou"> Ethylene-CRC-MW-dimensions-2D.png|[[ethylen]] Acetone-CRC-MW-ED-dimensions-2D.png|[[aceton]] DMSO-2D-dimensions.png|[[dimethylsulfoxid]] </gallery>
Expected behavior
The gallery caption should be above the images, right?
Current behavior
For 1-2 images, the gallery caption is completely off. For 3-4 images it is only slightly better. It seems the gallery caption is centered towards the whole page instead of the gallery itself. For 1-3 images it looks like the caption does not belong to the gallery at all.