Skip to content

Commit

Permalink
fix: expand/collapse button
Browse files Browse the repository at this point in the history
fixes #333
  • Loading branch information
netchampfaris committed Nov 20, 2024
1 parent 3bc7a40 commit 632a355
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions frontend/src/components/ReadmeEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,14 @@
v-if="collapsible && readmeHeight > 150"
>
<Tooltip text="Expand/Collapse">
<Button variant="ghost" @click="expand = !expand">
<template #icon>
<LucideUnfoldVertical class="w-4" />
</template>
</Button>
<!-- TODO: Tooltip bug, button click fires twice -->
<div>
<Button variant="ghost" @click="expand = !expand">
<template #icon>
<LucideUnfoldVertical class="w-4" />
</template>
</Button>
</div>
</Tooltip>
</div>
</div>
Expand Down

0 comments on commit 632a355

Please sign in to comment.