From d95463ff408b1ea130ea2ec8983d029590e68632 Mon Sep 17 00:00:00 2001 From: Cezar Augusto Date: Tue, 23 Jul 2019 16:24:22 -0300 Subject: [PATCH] allow welcome page story to be max width and height --- components/brave_welcome_ui/stories/story.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/brave_welcome_ui/stories/story.tsx b/components/brave_welcome_ui/stories/story.tsx index 06366bfb9f4b..5e1c90a616c6 100644 --- a/components/brave_welcome_ui/stories/story.tsx +++ b/components/brave_welcome_ui/stories/story.tsx @@ -5,11 +5,21 @@ import * as React from 'react' import { storiesOf } from '@storybook/react' import { withKnobs, boolean } from '@storybook/addon-knobs' + // Components import WelcomePage from './page/index' +const fullPageStoryStyles: object = { + width: '-webkit-fill-available', + height: '-webkit-fill-available' +} + +export const FullPageStory = (storyFn: any) => +
{storyFn()}
+ storiesOf('Welcome', module) .addDecorator(withKnobs) + .addDecorator(FullPageStory) .add('Page', () => { return (