@storybook/addon-viewport
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -117,2 +117,7 @@ 'use strict'; | ||
} | ||
// Always make parent's height equals iframe | ||
if (_this.iframe.parentElement) { | ||
_this.iframe.parentElement.style.height = _this.iframe.style.height; | ||
} | ||
}; | ||
@@ -119,0 +124,0 @@ |
{ | ||
"name": "@storybook/addon-viewport", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "Storybook addon to change the viewport size to mobile", | ||
@@ -14,3 +14,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@storybook/components": "3.4.0", | ||
"@storybook/components": "3.4.1", | ||
"babel-runtime": "^6.26.0", | ||
@@ -17,0 +17,0 @@ "global": "^4.3.2", |
@@ -81,2 +81,7 @@ import React, { Component } from 'react'; | ||
} | ||
// Always make parent's height equals iframe | ||
if (this.iframe.parentElement) { | ||
this.iframe.parentElement.style.height = this.iframe.style.height; | ||
} | ||
}; | ||
@@ -83,0 +88,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
232713
1001
+ Added@storybook/components@3.4.1(transitive)
- Removed@storybook/components@3.4.0(transitive)
Updated@storybook/components@3.4.1