Skip to content

Commit

Permalink
fix Copy_To_Clipboard text size for non-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Aug 4, 2024
1 parent 34a1230 commit 3769839
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-cheetahs-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ryanatkn/fuz": patch
---

fix `Copy_To_Clipboard` text size for non-icons
3 changes: 1 addition & 2 deletions src/lib/Copy_To_Clipboard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
<button
{...button_attrs}
type="button"
class={button_classes ?? (children ? undefined : 'icon_button')}
style:font-size="var(--size_lg)"
class={button_classes ?? (children ? undefined : 'icon_button size_lg')}
onclick={copy}
>{#if children}{@render children(copied, failed)}{:else}📋{/if}</button
>
Expand Down

0 comments on commit 3769839

Please sign in to comment.