Have you tried giving those two divs a height? I've found that that works, though it sometimes causes other problems.
This is one of many things, like centre alignment, which I think should be obvious and easy-peasy in CSS, but which aren't.
Huawei P10 review
1995-2015: How technology has changed the world in 20 years
An overview: What leading creative agencies are doing to improve diversity
New iPad, iPhone SE & Red iPhone 7 on sale now
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.