Skip to content

Commit

Permalink
fix: Fix upload button bug
Browse files Browse the repository at this point in the history
  • Loading branch information
code0xff committed Feb 18, 2024
1 parent 4897892 commit 159e248
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/editor/editor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@
bind:files
on:change={() => upload(editor, files)}
/>
<Button on:click={() => document.getElementById('selectedFile')?.click()} class="h-8 px-2"
><FileUp class="mx-0.5 h-4 w-4" /></Button
<Button
on:click={() => document.getElementById('selectedFile')?.click()}
class="mx-0.5 h-8 px-2"><FileUp class="h-4 w-4" /></Button
>
<Button on:click={startCollab} class="mx-0.5 h-8 px-2">
<ScreenShare class="h-4 w-4" />
Expand Down

0 comments on commit 159e248

Please sign in to comment.