web: components: Fixed global styles for storybook
This commit is contained in:
parent
60d608278f
commit
3ef9e4d7b8
@ -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';
|
||||||
/*
|
/*
|
||||||
|
@ -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';
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user