web: components: Fixed global styles for storybook

This commit is contained in:
Alexey Safronov 2019-09-06 09:24:48 +03:00
parent 60d608278f
commit 3ef9e4d7b8
2 changed files with 5 additions and 3 deletions

View File

@ -2,6 +2,9 @@ import { configure, addDecorator, addParameters } from '@storybook/react';
import { withA11y } from '@storybook/addon-a11y'; import { withA11y } from '@storybook/addon-a11y';
import { addReadme } from 'storybook-readme'; import { addReadme } from 'storybook-readme';
import { withConsole } from '@storybook/addon-console'; import { withConsole } from '@storybook/addon-console';
import '!style-loader!css-loader!./styles.scss';
//import 'bootstrap/dist/css/bootstrap.css'; //import 'bootstrap/dist/css/bootstrap.css';
//import 'react-toastify/dist/ReactToastify.min.css'; //import 'react-toastify/dist/ReactToastify.min.css';
/* /*

View File

@ -5,6 +5,5 @@ you have to go to `webpack.config.js` file
and enable the options in there and enable the options in there
*/ */
html { @import '../node_modules/bootstrap/dist/css/bootstrap.css';
padding: 2rem; @import '../node_modules/react-toastify/dist/ReactToastify.min.css';
}