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:
Try inputting a long number to see the overflow
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:
Try inputting a long number to see the overflow
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.
but i don’t like that scrolling bar to appear, i just want the text to go on a new line instead of overflowing
Thanks mate, it worked using overflow-wrap: anywhere;
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.