Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: header spacing #65

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading