Add css child-parent elements margin collapsing prevent mixin. Add flex-* align-items property as .justify-content() parameter.