Socket
Socket
Sign inDemoInstall

@storybook/addon-viewport

Package Overview
Dependencies
Maintainers
12
Versions
1872
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/addon-viewport - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

5

dist/components/Panel.js

@@ -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 @@

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc