ftlabs / ftellipsis

Multi-line ellipsis made possible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Child elements must be a block type and should not have any additional padding/margin styles.

tgorgdotcom opened this issue · comments

Just a note, not sure if this is a bug or if the readme needs to be updated. I found that the child elements in the requirements don't work if they are span (so I'm guessing non-block type), or if they have any margin (so maybe any styles that mess with the line-height calculations). Figured I'd post it here in case someone else was trying to figure out why something wasn't working.

For reference, the browser I was testing this on was Chrome 74