r/csshelp • • Feb 16 '20

CSS Grid & Flexbox: Text expanding max-width instead of going to a new line.

Hi /r/csshelp

 

I am trying to have 2 sections. One on the left and right.

When I add text to the right hand said (the about) if the text is too long it just expands the grid area instead of going to the line under it.

 

With the provided codepen, You'll see how the sizes are supposed to look but if you add more text or random characters to the profile <p> tag it just expands the box instead of going to the line under it.

 

https://codepen.io/stretch_/pen/JjdXrXQ

 

Thank you for taking the time to read. Any help is appreciated!

10 Upvotes

14 comments sorted by

View all comments

Show parent comments

1

u/KeinZantezuken Feb 18 '20

Fixed: https://imgur.com/a/zrlaTKv

What browser?

1

u/_Stretch Feb 18 '20

Latest version of Firefox

1

u/KeinZantezuken Feb 18 '20

Try any chromium-based browser

1

u/_Stretch Feb 18 '20

Just tried it with chrome and it appears to be the same issue: https://i.imgur.com/P626Nyp.png

1

u/KeinZantezuken Feb 18 '20

Well I dont have it no idea what is going on

1

u/_Stretch Feb 18 '20

No worries.

 

Thank you very much for trying! I appreciate it. I'll work around it! :)