patrickmarabeas / ng-FitText.js

An AngularJS directive for inflating web type.
http://patrickmarabeas.github.io/ng-FitText.js
MIT License
222 stars 61 forks source link

add option to preserve line-height #9

Closed rschmukler closed 10 years ago

rschmukler commented 10 years ago

This adds an option to preserve the line-height of the element. This is especially useful if you have boxes that all use the directive for a header and you want the text to be inline.

patrickmarabeas commented 10 years ago

Thanks for contributing! Could you fiddle a demo showing use case for me?

rschmukler commented 10 years ago

Hey! Sorry, I mis-understood what this library was doing... I thought of it more of a shrink-to-fit sort of tool. This PR no longer makes sense. Sorry, and thanks for the quick response!

patrickmarabeas commented 10 years ago

No problems : ) I'm working on a 100% width (automatic) option at the moment.