@codeleap/web 3.12.16 → 3.12.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeleap/web",
3
- "version": "3.12.16",
3
+ "version": "3.12.17",
4
4
  "main": "src/index.ts",
5
5
  "repository": {
6
6
  "url": "https://github.com/codeleap-uk/internal-libs-monorepo.git",
@@ -335,9 +335,11 @@ export const Modal = (props) => {
335
335
  if (visible) {
336
336
  document.body.style.overflowY = 'hidden'
337
337
  document.body.style.overflowX = 'hidden'
338
+ document.body.style.maxHeight = '100svh'
338
339
  } else {
339
340
  document.body.style.overflowY = 'visible'
340
341
  document.body.style.overflowX = 'hidden'
342
+ document.body.style.maxHeight = 'unset'
341
343
  }
342
344
  }, [visible])
343
345