User blog comment:Random-storykeeper/Collapsible infoboxes/@comment-5557081-20130704151921

Aha! I think I discovered something! If you place nowiki tags before the spoiler template in the infobox, it no longer glitches out, and without a gap, too!