Good idea in hindsight but that won't help me now. I was doing a series of minor tweaks - usually I only do one or two at a time so it's easy to revert them if something looks odd.
Right click > Inspect where the unwanted spacing is and see if there is any extra padding or margin being applied with CSS. If so copy the selectors and change the value to zero. Best guess from a screenshot.