@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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Actually, nothing wrong with flex here. Your block of text should be wrapped in p tag.
not everyone will do this and even in such case many developer may apply the flexbox properties to the
p
element.I know, just offering a correct solution :)
It was wrapped in a
<p>
tag. The problem is they made thep
tag itselfdisplay: flex
.@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.