Added fix for flex box not allowing top and bottom percentage margin.