diff --git a/package-lock.json b/package-lock.json index f30c5a999..33c00fd0d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1248,9 +1248,9 @@ } }, "@qawolf/sandbox": { - "version": "0.1.18", - "resolved": "https://registry.npmjs.org/@qawolf/sandbox/-/sandbox-0.1.18.tgz", - "integrity": "sha512-hIk0WCpGWCafhq/WYXYpgnc/3hJVp+fyfuXan109Lz1xtebiyEVLfog+7lj+7cCUZxZ+Z1Q0g5ze2NKNC9cLJA==", + "version": "0.1.19", + "resolved": "https://registry.npmjs.org/@qawolf/sandbox/-/sandbox-0.1.19.tgz", + "integrity": "sha512-Plg0VMJlIuOL9H/HU4Oyo1v3O8qDyZ5lwJUCuD060sY76BpG/+BHDJm8JunbaSiIIZOSDGYDIqIcWdMRAN8CEQ==", "dev": true, "requires": { "serve": "^11.3.0" diff --git a/package.json b/package.json index ebd8e8df1..a64e0b2fe 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ }, "devDependencies": { "@ffmpeg-installer/ffmpeg": "^1.0.20", - "@qawolf/sandbox": "0.1.18", + "@qawolf/sandbox": "0.1.19", "@types/debug": "^4.1.5", "@types/fs-extra": "^9.0.1", "@types/glob": "^7.1.3", diff --git a/packages/sandbox/package-lock.json b/packages/sandbox/package-lock.json index 61bae3efc..2427c83f0 100644 --- a/packages/sandbox/package-lock.json +++ b/packages/sandbox/package-lock.json @@ -1,6 +1,6 @@ { "name": "@qawolf/sandbox", - "version": "0.1.18", + "version": "0.1.19", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/sandbox/package.json b/packages/sandbox/package.json index 3dbf7a447..9151f5288 100644 --- a/packages/sandbox/package.json +++ b/packages/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@qawolf/sandbox", - "version": "0.1.18", + "version": "0.1.19", "files": [ "bin", "build" diff --git a/packages/sandbox/src/App.js b/packages/sandbox/src/App.js index 569c93b93..e4bca023e 100644 --- a/packages/sandbox/src/App.js +++ b/packages/sandbox/src/App.js @@ -11,6 +11,7 @@ import CheckboxInputs from './pages/CheckboxInputs'; import ContentEditables from './pages/ContentEditables'; import DatePickers from './pages/DatePickers'; import Images from './pages/Images'; +import InlineFrames from './pages/InlineFrames'; import InfiniteScroll from './pages/InfiniteScroll'; import Large from './pages/Large'; import LogIn from './pages/LogIn'; @@ -41,6 +42,9 @@ function Navigation() {
  • Images
  • +
  • + Inline Frames +
  • Infinite scroll
  • @@ -82,6 +86,7 @@ function App() { + diff --git a/packages/sandbox/src/pages/InlineFrames/index.js b/packages/sandbox/src/pages/InlineFrames/index.js new file mode 100644 index 000000000..9fb8e186e --- /dev/null +++ b/packages/sandbox/src/pages/InlineFrames/index.js @@ -0,0 +1,36 @@ +import React from "react"; + +const style = { + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + height: '100vh', + position: 'absolute', + alignContent: 'space-around', + width: '100vw' +}; + +const frameStyle = { + flexGrow: 1, + margin: 20, + width: 'calc(100% - 40px)' +}; + +const buttonStyle = { + flexGrow: 0, + height: 30, + margin: 20, + width: 'calc(100% - 40px)' +}; + +function InlineFrames() { + return ( +
    + +