Skip to content

Commit

Permalink
workaround #4216
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Mar 4, 2022
1 parent ab4ef9c commit 96fe901
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions sites/kit.svelte.dev/src/routes/__layout.svelte
Expand Up @@ -47,17 +47,6 @@
</NavItem>
</svelte:fragment>
</Nav>
<a target="_blank" rel="noopener noreferrer" href="https://www.stopputin.net/"
><div class="ukr" bind:clientHeight={h} bind:clientWidth={w}>
{#if w < 830}
<strong>We stand with Ukraine.</strong>
Donate →
{:else}
<strong>We stand with Ukraine.</strong>
Petition your leaders. Show your support.
{/if}
</div></a
>

<main id="main" style="padding-bottom: {h}px;">
<slot />
Expand All @@ -67,6 +56,18 @@
{/if}
</main>

<a target="_blank" rel="noopener noreferrer" href="https://www.stopputin.net/">
<div class="ukr" bind:clientHeight={h} bind:clientWidth={w}>
{#if w < 830}
<strong>We stand with Ukraine.</strong>
Donate →
{:else}
<strong>We stand with Ukraine.</strong>
Petition your leaders. Show your support.
{/if}
</div>
</a>

<style>
main {
position: relative;
Expand Down

0 comments on commit 96fe901

Please sign in to comment.