DEV Community

Discussion on: Never make your text container a flexbox container

Collapse
 
qm3ster profile image
Mihail Malo

It was wrapped in a <p> tag. The problem is they made the p tag itself display: flex.

Thread Thread
 
afif profile image
Temani Afif

@qm3ster the initial code was using a div and I changed it to p but it doens't make a difference the type of the container. The main issue is the same and we should not have display:flex on text conainer.

Some comments have been hidden by the post's author - find out more