Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit c7b6b0b

Browse files
author
David Kucsai
committed
Make changes related to issues raised
1 parent 616c151 commit c7b6b0b

23 files changed

+174
-178
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"presets": ["env", "react"]
3-
}
3+
}

docs/iframe.html

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
<!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,
1+
<!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{
2+
width: 100%;
3+
height: 100%;
4+
}
5+
6+
body {
7+
width: calc(100% - 16px);
8+
}
9+
10+
:not(.sb-show-main) > .sb-main,
211
:not(.sb-show-nopreview) > .sb-nopreview,
312
:not(.sb-show-errordisplay) > .sb-errordisplay {
413
display: none;
@@ -11,12 +20,13 @@
1120
left: 0;
1221
right: 0;
1322
padding: 20px;
14-
font-family: -apple-system, ".SFNSText-Regular", "San Francisco", Roboto, "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
23+
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
1524
-webkit-font-smoothing: antialiased;
25+
overflow: auto;
1626
}
1727

1828
.sb-heading {
19-
font-size: 20px;
29+
font-size: 14px;
2030
font-weight: 600;
2131
letter-spacing: 0.2px;
2232
margin: 10px 0;
@@ -40,14 +50,16 @@
4050
}
4151

4252
.sb-errordisplay {
43-
background-color: rgb(187, 49, 49);
44-
color: #FFF;
53+
border: 20px solid rgb(187, 49, 49);
54+
background: #222;
55+
color: #fff;
4556
}
4657

4758
.sb-errordisplay_code {
48-
font-size: 14px;
49-
width: 100vw;
50-
overflow: auto;
59+
padding: 10px;
60+
background: #000;
61+
color: #eee;
62+
font-family: "Operator Mono", "Fira Code Retina", "Fira Code", "FiraCode-Retina", "Andale Mono", "Lucida Console", Consolas, Monaco, monospace;
5163
}</style><script>/* globals window */
5264
/* eslint-disable no-underscore-dangle */
5365
try {
@@ -58,4 +70,4 @@
5870
} catch (e) {
5971
// eslint-disable-next-line no-console
6072
console.warn('unable to connect to parent frame for connecting dev tools');
61-
}</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>
73+
}</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>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
} catch (e) {
1515
// eslint-disable-next-line no-console
1616
console.warn('unable to connect to parent frame for connecting dev tools');
17-
}</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>
17+
}</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>

docs/main.168b245ef851080e6b6e.bundle.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.8e4fc8777e537b4bafa6.bundle.js.map renamed to docs/main.168b245ef851080e6b6e.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.8e4fc8777e537b4bafa6.bundle.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/main.9b831586e77f3587b8c8.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.d477303d89599982db82.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/runtime~main.8e4fc8777e537b4bafa6.bundle.js renamed to docs/runtime~main.168b245ef851080e6b6e.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)