Flexbox layout with button


I created this layout and would like to know if I’ve done it correctly. The issue is that the button changes its height when the browser window reaches a certain width. Can this be solved by writing media queries or is there a better method? I appreciate your guidance. I Thanks and cheers

CodePen link

Add to button class:
white-space: nowrap;

1 Like

Wow, that did. I just added it. Thanks a lot :slight_smile: Is the rest of the code good?