Skip to content

Commit a80cf89

Browse files
committed
[docs] Fix programmatic control demo styles
1 parent edd4a28 commit a80cf89

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.changeset/some-tips-fall.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"docs2": patch
3+
---
4+
5+
Fix programmatic control demo styles

apps/docs2/src/content/docs/guides/programmatic-control.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ sidebar:
44
order: 70
55
---
66

7-
import { Code, Card } from '@astrojs/starlight/components';
7+
import { Code } from '@astrojs/starlight/components';
8+
9+
import FormCard from '@/components/form-card.astro'
810

911
import Form from './programmatic-control.svelte';
1012
import formCode from './programmatic-control.svelte?raw';
@@ -13,6 +15,6 @@ You can bind to the from element to control it programmatically:
1315

1416
<Code code={formCode} lang="svelte" />
1517

16-
<Card>
18+
<FormCard>
1719
<Form client:only="svelte" />
18-
</Card>
20+
</FormCard>

0 commit comments

Comments
 (0)