Skip to content

Commit

Permalink
fix clipText function when element has max-height property set
Browse files Browse the repository at this point in the history
  • Loading branch information
edoparearyee committed May 25, 2016
1 parent 3c21176 commit 41003e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/js/ellipsis.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ angular.module('sn.ellipsis', [
return;
}

testEl.style.maxHeight = 'none';
testEl.style.height = 'auto';
testEl.style.width = elementWidth + 'px';

Expand Down

0 comments on commit 41003e9

Please sign in to comment.