Skip to content

Commit 31b167e

Browse files
committed
remove self-closing tags in src
1 parent f56c35a commit 31b167e

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/lib/components/Modal.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
});
4040
</script>
4141
42-
<div class="modal-background" />
42+
<div class="modal-background"></div>
4343
4444
<dialog class="modal" tabindex="-1" bind:this={modal} on:close>
4545
<slot />

src/routes/tutorial/[slug]/Chrome.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</script>
1515

1616
<div class="chrome" class:loading>
17-
<button disabled={loading} class="reload icon" on:click={() => dispatch('refresh')} aria-label="reload" />
17+
<button disabled={loading} class="reload icon" on:click={() => dispatch('refresh')} aria-label="reload"></button>
1818

1919
<input
2020
disabled={loading}
@@ -31,14 +31,14 @@
3131
}}
3232
/>
3333

34-
<a {href} class="new-tab icon" target="_blank" aria-label={href ? 'open in new tab' : undefined} tabindex="0" />
34+
<a {href} class="new-tab icon" target="_blank" aria-label={href ? 'open in new tab' : undefined} tabindex="0"></a>
3535

3636
<button
3737
disabled={loading}
3838
class="terminal icon"
3939
on:click={() => dispatch('toggle_terminal')}
4040
aria-label="toggle terminal"
41-
/>
41+
></button>
4242
</div>
4343

4444
<style>

src/routes/tutorial/[slug]/Loading.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109

110110
{#if initial}
111111
<div class="progress-container">
112-
<div class="progress" style="width: {progress * 100}%;" />
112+
<div class="progress" style="width: {progress * 100}%;"></div>
113113
</div>
114114
<span>{status}</span>
115115
{/if}

src/routes/tutorial/[slug]/Menu.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
><strong>{current.title}</strong>
6262
</div>
6363

64-
<span style="flex: 1 1 auto" />
64+
<span style="flex: 1 1 auto"></span>
6565
</h1>
6666

6767
<span class="expand-icon" class:inverted={is_open}>

src/routes/tutorial/[slug]/Output.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
134134
<div class="content">
135135
{#if browser}
136-
<iframe bind:this={iframe} title="Output" on:load={set_iframe_visible} />
136+
<iframe bind:this={iframe} title="Output" on:load={set_iframe_visible}></iframe>
137137
{/if}
138138
139139
{#if paused || loading || $error}

src/routes/tutorial/[slug]/filetree/Item.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
{#if actions.length > 0}
8787
<div class="actions">
8888
{#each actions as action}
89-
<button aria-label={action.label} class="icon {action.icon}" on:click={action.fn} />
89+
<button aria-label={action.label} class="icon {action.icon}" on:click={action.fn}></button>
9090
{/each}
9191
</div>
9292
{/if}

0 commit comments

Comments
 (0)