the important difference is that in your Bricks example you seem to only set the flex-grow property. In your raw html/css scenario you are using the flex shorthand which sets the flex-grow, the flex-shrink and the flex-basis properties.
Using the flex shorthand in Bricks as well results in the same output as in your raw example: