I am working on the calculator project, and i have that problem of text overflowing out of the flexbox, i’ve tried flex-wrap: wrap; but it doesn’t seem to work , here is the link to the pen: https://codepen.io/BedwardVedicci/pen/qBawJep
flex-wrap controls whether the flex items will wrap. Text alone is not a series of flex elements. Instead of setting the number display fields to be a flex container, try using the overflow property.