diff --git a/code/renderers/svelte/src/__test__/composeStories/__snapshots__/portable-stories.test.ts.snap b/code/renderers/svelte/src/__test__/composeStories/__snapshots__/portable-stories.test.ts.snap index 7141b7af1311..0723eca17647 100644 --- a/code/renderers/svelte/src/__test__/composeStories/__snapshots__/portable-stories.test.ts.snap +++ b/code/renderers/svelte/src/__test__/composeStories/__snapshots__/portable-stories.test.ts.snap @@ -3,7 +3,6 @@ exports[`Renders CSF2Secondary story 1`] = `
-
`; @@ -23,15 +21,12 @@ exports[`Renders CSF2Secondary story 1`] = ` exports[`Renders CSF2StoryWithParamsAndDecorator story 1`] = `
- -
- -
- -
`; @@ -55,7 +47,6 @@ exports[`Renders CSF2StoryWithParamsAndDecorator story 1`] = ` exports[`Renders CSF3Button story 1`] = `
-
`; @@ -75,7 +65,6 @@ exports[`Renders CSF3Button story 1`] = ` exports[`Renders CSF3ButtonWithRender story 1`] = `
-

-

`; @@ -104,7 +92,6 @@ exports[`Renders CSF3ButtonWithRender story 1`] = ` exports[`Renders CSF3InputFieldFilled story 1`] = `
- -
`; @@ -121,7 +107,6 @@ exports[`Renders CSF3InputFieldFilled story 1`] = ` exports[`Renders CSF3Primary story 1`] = `
-
`; @@ -141,7 +125,6 @@ exports[`Renders CSF3Primary story 1`] = ` exports[`Renders LoaderStory story 1`] = `
-
-
`; @@ -166,15 +148,12 @@ exports[`Renders LoaderStory story 1`] = ` exports[`Renders NewStory story 1`] = `
- -
- -
- -
`; diff --git a/code/renderers/svelte/src/components/SlotDecorator.svelte b/code/renderers/svelte/src/components/SlotDecorator.svelte index 27b80aae3412..0e184f6bb0ff 100644 --- a/code/renderers/svelte/src/components/SlotDecorator.svelte +++ b/code/renderers/svelte/src/components/SlotDecorator.svelte @@ -42,9 +42,9 @@ {#if decorator} - - - + + + {:else} - + {/if} diff --git a/test-storybooks/portable-stories-kitchen-sink/svelte/stories/__snapshots__/Button.test.ts.snap b/test-storybooks/portable-stories-kitchen-sink/svelte/stories/__snapshots__/Button.test.ts.snap index 80fb1d74c3f4..5e0c5321592b 100644 --- a/test-storybooks/portable-stories-kitchen-sink/svelte/stories/__snapshots__/Button.test.ts.snap +++ b/test-storybooks/portable-stories-kitchen-sink/svelte/stories/__snapshots__/Button.test.ts.snap @@ -12,7 +12,6 @@ exports[`Renders CSF2Secondary story 1`] = ` -
`; @@ -20,9 +19,7 @@ exports[`Renders CSF2Secondary story 1`] = ` exports[`Renders CSF2StoryWithParamsAndDecorator story 1`] = `
-
+
- - +
@@ -53,7 +47,6 @@ exports[`Renders CSF3Button story 1`] = ` -
`; @@ -78,7 +71,6 @@ exports[`Renders CSF3ButtonWithRender story 1`] = `
- `; @@ -90,7 +82,6 @@ exports[`Renders CSF3InputFieldFilled story 1`] = ` data-testid="input" /> - `; @@ -107,7 +98,6 @@ exports[`Renders CSF3Primary story 1`] = ` - `; @@ -129,7 +119,6 @@ exports[`Renders LoaderStory story 1`] = ` - `; @@ -137,9 +126,7 @@ exports[`Renders LoaderStory story 1`] = ` exports[`Renders NewStory story 1`] = `
-
+
- - +