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

Safari iframe resize bug #14

Closed
6 tasks done
MartijnCuppens opened this issue Jul 14, 2018 · 2 comments
Closed
6 tasks done

Safari iframe resize bug #14

MartijnCuppens opened this issue Jul 14, 2018 · 2 comments
Labels
bug less This issue only applies to the less version PostCSS sass This issue only applies to the sass version stylus This issue only applies to the stylus version

Comments

@MartijnCuppens
Copy link
Member

MartijnCuppens commented Jul 14, 2018

The font sizes do not rescale in iframes in safari when the iframe is rescaled. It's possible to avoid this by adding min-width: 0vw; in the media queries of RFS.
This is not the most ideal solution, and should be disabled by default.

Demo: https://codepen.io/MartijnCuppens/pen/djYBGW

  • Fix bug in scss
  • Fix bug in sass
  • Fix bug in PostCSS
  • Fix bug in Stylus
  • Fix bug in less
  • Update readme

In this demo another codepen is secretly loaded which adds some dirty code to fix this: https://codepen.io/MartijnCuppens/pen/ZBjdMy?editors=1100

@MartijnCuppens MartijnCuppens added bug less This issue only applies to the less version scss sass This issue only applies to the sass version stylus This issue only applies to the stylus version PostCSS labels Jul 14, 2018
MartijnCuppens added a commit that referenced this issue Jul 17, 2018
@MartijnCuppens
Copy link
Member Author

Fixed in v7.1.3

@mblackritter
Copy link

I wonder if this might be set as a default for the demos, because it could be rather surprising to initially see it in a non working state. 😍🥰

At least It buzzled me, beside that I knew it generally works, because I already implemented it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug less This issue only applies to the less version PostCSS sass This issue only applies to the sass version stylus This issue only applies to the stylus version
Projects
None yet
Development

No branches or pull requests

3 participants
@mblackritter @MartijnCuppens and others