Skip to content

Commit

Permalink
Make changes related to issues raised
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kucsai committed Aug 11, 2019
1 parent 616c151 commit c7b6b0b
Show file tree
Hide file tree
Showing 23 changed files with 174 additions and 178 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["env", "react"]
}
}
30 changes: 21 additions & 9 deletions docs/iframe.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<!doctype html><html><head><meta charset="utf-8"><title>Storybook</title><meta name="viewport" content="width=device-width,initial-scale=1"><base target="_parent"><style>:not(.sb-show-main) > .sb-main,
<!doctype html><html><head><meta charset="utf-8"><title>Storybook</title><meta name="viewport" content="width=device-width,initial-scale=1"><base target="_parent"><style>html, body{
width: 100%;
height: 100%;
}

body {
width: calc(100% - 16px);
}

:not(.sb-show-main) > .sb-main,
:not(.sb-show-nopreview) > .sb-nopreview,
:not(.sb-show-errordisplay) > .sb-errordisplay {
display: none;
Expand All @@ -11,12 +20,13 @@
left: 0;
right: 0;
padding: 20px;
font-family: -apple-system, ".SFNSText-Regular", "San Francisco", Roboto, "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
overflow: auto;
}

.sb-heading {
font-size: 20px;
font-size: 14px;
font-weight: 600;
letter-spacing: 0.2px;
margin: 10px 0;
Expand All @@ -40,14 +50,16 @@
}

.sb-errordisplay {
background-color: rgb(187, 49, 49);
color: #FFF;
border: 20px solid rgb(187, 49, 49);
background: #222;
color: #fff;
}

.sb-errordisplay_code {
font-size: 14px;
width: 100vw;
overflow: auto;
padding: 10px;
background: #000;
color: #eee;
font-family: "Operator Mono", "Fira Code Retina", "Fira Code", "FiraCode-Retina", "Andale Mono", "Lucida Console", Consolas, Monaco, monospace;
}</style><script>/* globals window */
/* eslint-disable no-underscore-dangle */
try {
Expand All @@ -58,4 +70,4 @@
} catch (e) {
// eslint-disable-next-line no-console
console.warn('unable to connect to parent frame for connecting dev tools');
}</script></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><div id="error-message" class="sb-heading"></div><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><script src="runtime~main.8e4fc8777e537b4bafa6.bundle.js"></script><script src="vendors~main.8e4fc8777e537b4bafa6.bundle.js"></script><script src="main.8e4fc8777e537b4bafa6.bundle.js"></script></body></html>
}</script></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.168b245ef851080e6b6e.bundle.js"></script><script src="vendors~main.168b245ef851080e6b6e.bundle.js"></script><script src="main.168b245ef851080e6b6e.bundle.js"></script></body></html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
} catch (e) {
// eslint-disable-next-line no-console
console.warn('unable to connect to parent frame for connecting dev tools');
}</script></head><body><div id="root"></div><script src="runtime~main.17da544d0ef88cbabfaf.bundle.js"></script><script src="vendors~main.470496f42e97f0445cab.bundle.js"></script><script src="main.d477303d89599982db82.bundle.js"></script></body></html>
}</script></head><body><div id="root"></div><div id="docs-root"></div><script>window['DOCS_MODE'] = false;</script><script src="runtime~main.17da544d0ef88cbabfaf.bundle.js"></script><script src="vendors~main.43843e62781e2fa033d7.bundle.js"></script><script src="main.9b831586e77f3587b8c8.bundle.js"></script></body></html>
2 changes: 2 additions & 0 deletions docs/main.168b245ef851080e6b6e.bundle.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions docs/main.8e4fc8777e537b4bafa6.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/main.9b831586e77f3587b8c8.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/main.d477303d89599982db82.bundle.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c7b6b0b

Please sign in to comment.