Skip to content

Commit

Permalink
Fix mobile landscape grid (#738)
Browse files Browse the repository at this point in the history
* Get storybook working with react-scripts 5

* Fix landscape behavior in MobileGalleryView component

* Update existing tests and add tests for landscape MobileGalleryView

* fix storybook and npm start command
  • Loading branch information
timmydoza authored Aug 11, 2022
1 parent 961c140 commit 9bcaad7
Show file tree
Hide file tree
Showing 6 changed files with 4,320 additions and 6,425 deletions.
20 changes: 11 additions & 9 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
{
name: '@storybook/addon-essentials',
options: { backgrounds: false, docs: false },
},
'@storybook/preset-create-react-app',
],
addons: ['@storybook/addon-links', {
name: '@storybook/addon-essentials',
options: {
backgrounds: false,
docs: false
}
}, '@storybook/preset-create-react-app'],
framework: '@storybook/react',
webpackFinal: config => {
config.resolve.alias['twilio-video'] = require.resolve('../src/stories/mocks/twilio-video.js');
return config;
},
};
core: {
builder: 'webpack5'
}
};
Loading

0 comments on commit 9bcaad7

Please sign in to comment.