Skip to content Skip to sidebar Skip to footer

Stopping Cut Off Text In Variable Height Div With Css And Javascript That Has

Elements As Children

I have a div that doesn't have a fixed height, and has several

blocks as children. I've been trying to use text-overflow or line-clamp, but it seems like these don't appl

Solution 1:

The text is getting cut in half horizontally due to the "overflow:hidden;", and the height of the div not being sufficient for the text content.

What is constraining the height of the div?


Post a Comment for "Stopping Cut Off Text In Variable Height Div With Css And Javascript That Has

Elements As Children"