Skip to content
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

Responsive font issues in IE browser (include edge) #15

Closed
kangw3n opened this issue Aug 26, 2015 · 5 comments
Closed

Responsive font issues in IE browser (include edge) #15

kangw3n opened this issue Aug 26, 2015 · 5 comments

Comments

@kangw3n
Copy link

kangw3n commented Aug 26, 2015

Hey there

When applying responsive property into style, it seems to be works in all modern browser, however in IE nor Edge, I found that the calc() method did not do the trick, while re-sizing the screen and reach a certain breakpoint inside font-range (1280px - 420px ), font-size will drop below the the min-font-size (12px as default, it will keep on reduce until it reach the lower bound of the range) ,and once it reach the lower bound of the size it will stick with 12px as expected.

I think it might be some issues with IE and Edge browser rendering vw value?(checked in caniuse.com it seems to be ok to use vw or calc() method in modern IE browser)

Thanks

@madeleineostoja
Copy link
Owner

Just confirmed this myself. Haven't the faintest idea what's going on here - presumably something funky IE is doing with vw units, but that said I'm almost certain this was working okay before the recent logic change in postcss-responsive-type (madeleineostoja/postcss-responsive-type@e3a9242). Thanks for flagging, I'll look into it and get it sorted asap.

@madeleineostoja
Copy link
Owner

Yep confirmed - this is a regression brought on by madeleineostoja/postcss-responsive-type@e3a9242.

@madeleineostoja
Copy link
Owner

If you need an immediate solution roll back postcss-responsive-type in your deps to 0.1.*, then just make sure you only use px units throughout.

@madeleineostoja
Copy link
Owner

@kangw3n
Copy link
Author

kangw3n commented Aug 27, 2015

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants