-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Box-Sizing CSS3 support #18
Comments
+1 |
1 similar comment
+1 |
I'll look to get a fix pushed in the next week. |
Any updates on this? thanks |
Did this every get implemented? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current calculation of font size appears to use
(parent[0].offsetWidth - 6)
as the detector of parent width. However, if the parent element has the following CSS applied:Then the detected width fails to accommodate for any padding applied to the parent. (This is particularly noticeable when using Twitter Bootstrap with fittext elements directly inside
col-
items)Current Hackaround for this is to wrap fittext elements in another
div
, however, out of the box support would be lovely :)The text was updated successfully, but these errors were encountered: