postcss-viewport-height-correction
postcss-viewport-height-correction copied to clipboard
PostCSS plugin to solve the popular problem when 100vh doesn’t fit the mobile browser screen.
Thank you for solving my problem !!!
Hi @Faisal-Manzer - love the plugin and have been using it for a while, but have discovered an irritating bug. In the below code, .form-field is oddly inheriting the min-height...
Now it uses `document.documentElement.clientHeigh`, however it doesn't change on show/hide status bar. In the original [article](https://css-tricks.com/the-trick-to-viewport-units-on-mobile/) they use `window.innerHeight`, next code works for me: ```js var customViewportCorrectionVariable = 'vh'; function...
I did a test putting 100vh in css-in-js and another putting 10vh inside sass. With sass it works, but with css-in-js it doesn't
I updated plugin to postCSS 8 and updated dependencies
I'm using the plugin in my nuxt project, after last nuxt update this warning appeared: > A PostCSS plugin did not pass the `from` option to `postcss.parse`. This may cause...