Angular flex-layout based structure issue

Solution 1:

Try wrapping test1 and test2 in a div with fxLayout.sm="column" while the parent div (containg all three) will have fxLayout.sm="row"

it will look like this