diff --git a/.storybook/fix.css b/.storybook/fix.css new file mode 100644 index 0000000..b1d74f4 --- /dev/null +++ b/.storybook/fix.css @@ -0,0 +1,6 @@ +/* Importing Tailwind has direct impact on some Storybook rules. + * Undo the most negative effects here. */ +html, +body { + overflow: auto; +} diff --git a/.storybook/preview.ts b/.storybook/preview.ts index b4fce33..846da51 100644 --- a/.storybook/preview.ts +++ b/.storybook/preview.ts @@ -4,6 +4,7 @@ import type { Preview } from '@storybook/svelte'; import '../src/theme.postcss'; //import '@skeletonlabs/skeleton/styles/skeleton.css'; import '../src/app.postcss'; +import './fix.css'; const preview: Preview = { parameters: {