truncate.js icon indicating copy to clipboard operation
truncate.js copied to clipboard

Does not work propely when zoom in browser

Open veton opened this issue 11 years ago • 0 comments

Steps to reproduce:

  1. Create text container that have 3 lines and line-height: 18px.
  2. Open in Google Chrome
  3. Zoom to 75%.

STR 2:

  1. Open https://jsfiddle.net/pde6g1dy/
  2. Zoom to 75%.
  3. Run

Expected: Two lines shown terminated by ellipsis.

Actual: 3 lines shown.

Notes: var originalHeight = $doppleText.height(); returns 54 when zoom is 100% returns 52 when zoom is 75%

veton avatar Jun 17 '15 21:06 veton