diff --git a/src/components/Block/Block.mdx b/src/components/Block/Block.mdx index 522fbfe6..3ec8a139 100644 --- a/src/components/Block/Block.mdx +++ b/src/components/Block/Block.mdx @@ -6,7 +6,7 @@ import * as BlockStories from './Block.stories.svelte'; # Block -The `Block` component is the basic building block of pages, a responsive container that wraps around each section of your piece. The contents of each block are rendered as [snippets](https://svelte.dev/docs/svelte/snippet). +The `Block` component is the basic building block of pages, a responsive container that wraps around each section of your piece. Blocks are stacked vertically within the well created by the [Article](./?path=/docs/components-page-layout-article--docs) component. They can have different widths on larger screens depending on the `width` prop. @@ -18,9 +18,7 @@ Blocks are stacked vertically within the well created by the [Article](./?path=/ - {#snippet content()} - - {/snippet} + ``` @@ -52,9 +50,7 @@ You can use the `snap` prop to force the container to snap to each block width s ```svelte - {#snippet content()} - - {/snippet} + ``` @@ -67,9 +63,7 @@ If you want to skip certain block widths entirely, you can add one or more class ```svelte - {#snippet content()} - - {/snippet} + ``` @@ -83,9 +77,7 @@ Luckily, it's still pretty easy. Just add a `cls` or `id` to your `Block` so you ```svelte - {#snippet content()} - - {/snippet} +