From 49cbd6178ef0e9d39184f1f0196836f762fe48fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jaenisch?= Date: Thu, 15 Feb 2024 19:18:52 +0100 Subject: [PATCH] fix: reenable scrolling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise information is lost. Signed-off-by: André Jaenisch --- .storybook/fix.css | 6 ++++++ .storybook/preview.ts | 1 + 2 files changed, 7 insertions(+) create mode 100644 .storybook/fix.css 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: {