Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
fix: remove more self-closing tags (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored May 20, 2024
1 parent db45514 commit 06a2313
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilly-lizards-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/site-kit': patch
---

fix: remove more self-closing tags
2 changes: 1 addition & 1 deletion packages/site-kit/src/lib/home/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<Section --background="var(--sk-back-4)">
<footer>
<div class="logo" />
<div class="logo"></div>

{#each Object.entries(links) as [title, inner_links]}
<div class="links">
Expand Down
6 changes: 3 additions & 3 deletions packages/site-kit/src/lib/home/TryTerminal.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="terminal">
<div class="chrome">
<span class="dot" />
<span class="dot" />
<span class="dot" />
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<span class="title">terminal</span>
</div>
<pre><code
Expand Down
2 changes: 1 addition & 1 deletion packages/site-kit/src/lib/nav/Menu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
style:height={$show_context_menu ? '99%' : `${universal_menu_inner_height}px`}
style:--background={$show_context_menu ? 'var(--sk-back-3)' : null}
use:mounted={(mounted) => (ready = mounted)}
/>
></div>
<div
class="clip"
Expand Down
2 changes: 1 addition & 1 deletion packages/site-kit/src/lib/nav/NavContextMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{title}

{#if badge}
<span style="flex: 1 1 auto" />
<span style="flex: 1 1 auto"></span>
<span class="badge">{badge}</span>
{/if}
</a>
Expand Down
2 changes: 1 addition & 1 deletion packages/site-kit/src/lib/nav/PreloadingIndicator.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

{#if visible}
<div class="progress-container">
<div class="progress" style="width: {$p * 100}%" />
<div class="progress" style="width: {$p * 100}%"></div>
</div>
{/if}

Expand Down

0 comments on commit 06a2313

Please sign in to comment.