Skip to content

Commit 240d548

Browse files
committed
fix some blog post styles
1 parent c442bef commit 240d548

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

apps/svelte.dev/src/routes/blog/[slug]/+page.svelte

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<script lang="ts">
22
import { page } from '$app/stores';
33
import { copy_code_descendants, ts_js_select } from '@sveltejs/site-kit/actions';
4+
import { Text } from '@sveltejs/site-kit/components';
45
import { setupDocsHovers } from '@sveltejs/site-kit/docs';
56
67
let { data } = $props();
78
8-
let content = $state() as HTMLElement;
9-
109
setupDocsHovers();
1110
</script>
1211

@@ -39,9 +38,9 @@
3938
<time datetime={data.date}>{data.date_formatted}</time>
4039
</p>
4140

42-
<div class="content" bind:this={content}>
41+
<Text>
4342
{@html data.body}
44-
</div>
43+
</Text>
4544
</article>
4645
</div>
4746

0 commit comments

Comments
 (0)