Skip to content

Commit

Permalink
Fix heart icon alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
anyaparekh committed Aug 15, 2023
1 parent dbf1b23 commit ae1858c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/lib/components/Icon.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
export let icon: IconType;
export let width: string | number = "100%";
export let height: string | number = "100%";
export let inline: boolean | number = false;
export let color = "currentColor";
</script>

<Icon icon={iconMap[icon].name} {width} {height} {color} />
<Icon icon={iconMap[icon].name} {width} {height} {color} {inline} />
3 changes: 1 addition & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<div id="sponsorship-content">
<h2>
We
<Icon icon="heart" width="1em" height="1em" />
<Icon icon="heart" width="1em" height="1em" inline={true} />
Our Sponsors
</h2>
<div class="row-center" />
Expand Down Expand Up @@ -193,7 +193,6 @@
#sponsorship-content {
color: white;
vertical-align: top;
}
figure > img {
Expand Down

0 comments on commit ae1858c

Please sign in to comment.