Tweak the top and bottom spacing on captions

Some of the spacing was quite big since the caption background colour was removed, and we tried to make the spacing more uniform.
I prefer magic numbers personally, but I avoid them because they get highlighted in PR feedback. I don't think a var is much better either.