From b8efb14bb9f149f1f7602e6dde2dd5f598628671 Mon Sep 17 00:00:00 2001 From: "Nichols, Kieran" Date: Fri, 27 Oct 2023 12:55:32 -0400 Subject: [PATCH] chore: fix storybook headings --- src/stories/StorybookMdxProvider.tsx | 4 ++-- src/stories/src/components/card/card.stories.tsx | 6 +++--- src/stories/src/components/card/code/card-scaffold.ts | 4 ++-- src/stories/src/components/card/code/card-styled.ts | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/stories/StorybookMdxProvider.tsx b/src/stories/StorybookMdxProvider.tsx index 13b52c541..a62fab9c1 100644 --- a/src/stories/StorybookMdxProvider.tsx +++ b/src/stories/StorybookMdxProvider.tsx @@ -17,8 +17,8 @@ import { LiveDemoStage } from './src/core/live-demo-stage'; export const StorybookMdxComponents: Record = { wrapper: ({ children }: any) => {children}, h1: (props: any) =>

{props.children}

, - h2: (props: any) =>

{props.children}

, - h3: (props: any) =>

{props.children}

, + h2: (props: any) =>

{props.children}

, + h3: (props: any) =>

{props.children}

, table: (props: any) => , section: (props: any) =>
{props.children}
, blockquote: (props: any) =>
, diff --git a/src/stories/src/components/card/card.stories.tsx b/src/stories/src/components/card/card.stories.tsx index 559c2fde5..91cf02c1f 100644 --- a/src/stories/src/components/card/card.stories.tsx +++ b/src/stories/src/components/card/card.stories.tsx @@ -71,7 +71,7 @@ export const Styled: Story = ({
-

{LOREM_IPSUM.p1}

+

{LOREM_IPSUM.p1}

@@ -98,10 +98,10 @@ export const WithScaffold: Story = ({ -

Lorem ipsum

+

Lorem ipsum

-

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestias quas sed aliquid cumque sunt iste ad, alias quod adipisci? Nulla, libero necessitatibus enim sint nesciunt provident excepturi dolorum pariatur illum? diff --git a/src/stories/src/components/card/code/card-scaffold.ts b/src/stories/src/components/card/code/card-scaffold.ts index ba09c82e9..4eccf747a 100644 --- a/src/stories/src/components/card/code/card-scaffold.ts +++ b/src/stories/src/components/card/code/card-scaffold.ts @@ -3,10 +3,10 @@ export const CardScaffoldCodeHtml = () => { -

Lorem ipsum

+

Lorem ipsum

-

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestias quas sed aliquid cumque sunt iste ad, alias quod adipisci? Nulla, libero necessitatibus enim sint nesciunt provident excepturi dolorum pariatur illum? diff --git a/src/stories/src/components/card/code/card-styled.ts b/src/stories/src/components/card/code/card-styled.ts index b1525f0b8..cab4cc069 100644 --- a/src/stories/src/components/card/code/card-styled.ts +++ b/src/stories/src/components/card/code/card-styled.ts @@ -12,7 +12,7 @@ export const CardStyledCodeHtml = () => {

-

+

Lorem, ipsum dolor sit amet consectetur adipisicing elit. Molestias exercitationem doloremque dolorem ullam, nesciunt quia velit necessitatibus numquam quasi voluptates impedit earum dolores repudiandae facilis totam non quo labore itaque?