Someone probably had the same issue, but can't find anything. It seems like line-height css doesn't match the actual height of the line
Here is the text css properties:
.description{
line-height:17px;
font-size:14px;
height:85px;
overflow:hidden;
}
so normally, since 17px * 5 = 85px, we should only see 5 lines, but as you can see on the pic, the top of the next line is showing up. It behave like if line-height is about 16.7px and not 17px. Is there a way to correct that?
I try with different height (102px, 170px, etc..) , and the higher the box is, bigger the gap is (at 255px, we can see half of the next line )
Update: A comparison of my result with 255px box (issue) and the expected result (like jsfiddle)
js fiddle : https://jsfiddle.net/eo7pkzqt/28/