We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edd4a28 commit a80cf89Copy full SHA for a80cf89
.changeset/some-tips-fall.md
@@ -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
@@ -4,7 +4,9 @@ sidebar:
order: 70
---
6
7
-import { Code, Card } from '@astrojs/starlight/components';
+import { Code } from '@astrojs/starlight/components';
8
9
+import FormCard from '@/components/form-card.astro'
10
11
import Form from './programmatic-control.svelte';
12
import formCode from './programmatic-control.svelte?raw';
@@ -13,6 +15,6 @@ You can bind to the from element to control it programmatically:
13
15
14
16
<Code code={formCode} lang="svelte" />
17
-<Card>
18
+<FormCard>
19
<Form client:only="svelte" />
-</Card>
20
+</FormCard>
0 commit comments