Nested Flexbox Grid
问题 I've built a nested flexbox grid that I'll be using for individual gateways. Currently, presumably due to the use of outline , the content within each container is running over into (and being hidden by) the whitespace surrounding each gateway, which acts as spacing between each div. Is there a better way to handle the grid spacing, which allows me to ensure the content doesn't run over into the div outline? I've included a JSFiddle to illustrates the issue (seen best in the secondary &