Skip to content

Commit 9b30464

Browse files
committed
fix(docs): correct Shadcn example header and adjust editor height class
1 parent 55cdee0 commit 9b30464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/docs/+page.svx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ A simple setup using the default Edra editor, toolbar, and bubble menu.
183183
}
184184
</script>
185185

186-
<div class="py-4 text-center text-xl font-bold">Shadcn Example</div>
186+
<div class="py-4 text-center text-xl font-bold">Shadcn Example
187187
<div class="bg-background z-50 mt-12 size-full max-w-5xl rounded-md border border-dashed">
188188
{#if editor && !editor.isDestroyed}
189189
<EdraToolBar
@@ -195,7 +195,7 @@ A simple setup using the default Edra editor, toolbar, and bubble menu.
195195
<EdraEditor
196196
bind:editor
197197
{content}
198-
class="h-[30rem] max-h-screen overflow-y-scroll pr-2 pl-6"
198+
class="h-120 max-h-screen overflow-y-scroll pr-2 pl-6"
199199
{onUpdate}
200200
/>
201201
</div>

0 commit comments

Comments
 (0)