Skip to content

Commit

Permalink
Merge pull request #305 from significa/sign-610-footer-careers-badge
Browse files Browse the repository at this point in the history
fix: correct footers careers badge position in safari
  • Loading branch information
nunopolonia authored Jan 8, 2024
2 parents 70f0e95 + 46cae24 commit 2bee8a5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@
{link.name}
{#if sanitizeSlug(link.full_slug) === '/careers'}
{#if $page.data.careers.length}
<div aria-hidden="true">
<Badge class="absolute -right-6 top-1/2 -translate-y-1/2 text-xs leading-none">
<span aria-hidden="true">
<Badge
class="absolute -right-6 top-1/2 -translate-y-1/2 text-xs leading-none"
>
{$page.data.careers.length}
</Badge>
</div>
</span>
{/if}
{/if}
</Link>
Expand Down

0 comments on commit 2bee8a5

Please sign in to comment.