I've just spent quite some time chasing a gap like the one in this plunk. The problem wasn't that simple. It's a dynamically created page and some component having margin-bottom happened to be displayed last inside of .main.
Before I blame CSS, I wonder, what's the proper way for styling such an (old-school) bordered design? I mean something what doesn't break when an unknown component gets put inside?