Skip to content

Commit

Permalink
docs: fix click to replay preset
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Oct 9, 2024
1 parent df20451 commit 9e6c87a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/components/content/PresetSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ const { data } = await useAsyncData(`preset-${props.name}`, () =>
<div class="content">
<ContentRendererMarkdown class="demoCode" :value="data ?? {}" />
<div class="demoContainer relative">
<div class="demoContainer relative" @click="replay">
<client-only>
<button class="absolute right-4 top-4" @click="replay">
<button class="absolute right-4 top-4">
<div ref="replayButton" class="replayButton">
<Icon name="heroicons-outline:refresh" class="h-6 w-6" />
</div>
</button>
<div ref="demoElement" class="demoElement" @click="replay">
<div ref="demoElement" class="demoElement">
<Face v-once />
</div>
</client-only>
Expand Down

0 comments on commit 9e6c87a

Please sign in to comment.