Skip to content

Commit f85b983

Browse files
authored
maybe fix #223 (#227)
* maybe fix #223 * try this
1 parent 960c2c1 commit f85b983

File tree

1 file changed

+2
-1
lines changed
  • apps/svelte.dev/src/routes/tutorial/[slug]/filetree

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
4343
<li
4444
aria-current={selected ? 'true' : undefined}
45-
style="--depth: {depth}; --icon: url('{icon}');"
45+
style:--depth={depth}
46+
style:--icon="url(&quot;{icon}&quot;)"
4647
on:keydown
4748
>
4849
{#if renaming}

0 commit comments

Comments
 (0)