Move data-sveltekit-* attributes to parent level when possible

This commit is contained in:
2022-08-31 09:43:52 +02:00
parent 3618414aa0
commit 1de3c717b2
15 changed files with 121 additions and 125 deletions

View File

@@ -117,11 +117,11 @@
{/if}
</dt>
<dd>
<ul>
<ul data-sveltekit-noscroll>
{#each location as loc}
{#if loc.location_id}
<li>
<a href="/{loc.location_id.country.slug}/{loc.location_id.slug}" data-sveltekit-noscroll tabindex="0">
<a href="/{loc.location_id.country.slug}/{loc.location_id.slug}" tabindex="0">
<Image
id={loc.location_id.country.flag.id}
sizeKey="square-small"