@stokr/components-library 2.0.4 → 2.0.5

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.
@@ -215,12 +215,13 @@ var Header = function Header(_ref3) {
215
215
  if (isMobile) {
216
216
  if (newActiveMenu) {
217
217
  document.body.style.overflowY = 'hidden';
218
- document.body.style.position = 'fixed';
219
218
  document.documentElement.style.overflowY = 'hidden';
219
+ document.body.style.position = 'fixed';
220
+ document.body.style.width = '100%';
220
221
  } else {
221
222
  document.body.style.overflowY = 'unset';
222
- document.body.style.position = 'relative';
223
223
  document.documentElement.style.overflowY = 'unset';
224
+ document.body.style.position = 'relative';
224
225
  }
225
226
  }
226
227
  if (mobile && type !== 'main') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "STOKR - Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",