JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14347
  • Score
    100M100P100Q149510F
  • License MIT

PostCSS plugin to fix height/min-height: 100vh on iOS

Package Exports

  • postcss-100vh-fix

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postcss-100vh-fix) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

PostCSS 100vh Fix

PostCSS plugin to fix iOS’s bug with 100vh.

body {
  height: 100vh;
}
body {
  height: 100vh;
}

@supports (-webkit-touch-callout: none) {
  body {
    height: -webkit-fill-available;
  }
}

It works with min-height and max-height too.

Sponsored by Evil Martians