Skip to content

Commit

Permalink
fix: header spacing (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 authored Jan 8, 2025
1 parent 6846b9c commit 941c95c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/Card/Card.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
onclick={onToggle}
class={cleanClass('flex w-full items-center justify-between px-4', headerContainerClasses)}
>
<div class="flex flex-col space-y-1.5">
<div class="flex flex-col">
{@render headerChild?.snippet()}
</div>
<div>
Expand All @@ -118,7 +118,7 @@
</div>
</button>
{:else}
<div class={cleanClass('flex flex-col space-y-1.5', headerContainerClasses)}>
<div class={cleanClass('flex flex-col', headerContainerClasses)}>
{@render headerChild?.snippet()}
</div>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Heading/Heading.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
children: Snippet;
};
const { color, size, class: className, children }: Props = $props();
const { color, size = 'medium', class: className, children }: Props = $props();
const sizes = {
title: 'h1',
Expand Down

0 comments on commit 941c95c

Please sign in to comment.