Skip to content

Commit

Permalink
chore: toggleable documenation slot
Browse files Browse the repository at this point in the history
  • Loading branch information
harshtandiya committed Nov 7, 2024
1 parent 0f8ce8b commit 4aba45c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<div class="font-sans text-2xl font-semibold">Ballot.</div>
<Button
class="block md:hidden -mr-8 !rounded-full w-8 h-8"
@click="toggleSidebar = false"
variant="outline"
@click="toggleSidebar = false"
>
<IconArrowLeft size="1rem" />
</Button>
Expand Down Expand Up @@ -49,6 +49,7 @@
<slot name="documentation">
<p
class="text-sm leading-normal tracking-tight font-medium text-primary-600"
v-if="hasDocs"
>
Need help? Checkout the Ballot
<span class="flex items-center gap-1">
Expand Down

0 comments on commit 4aba45c

Please sign in to comment.