fix(structured-list): change element from section to div

This commit is contained in:
Eric Liu 2020-09-04 18:15:13 -07:00
commit 117dbcfc6f
2 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@
export let border = false;
</script>
<section
<div
class:bx--skeleton="{true}"
class:bx--structured-list="{true}"
class:bx--structured-list--border="{border}"
@ -39,4 +39,4 @@
</div>
{/each}
</div>
</section>
</div>

View file

@ -34,7 +34,7 @@
$: dispatch("change", $selectedValue);
</script>
<section
<div
aria-label="Structured list section"
class:bx--structured-list="{true}"
class:bx--structured-list--border="{border}"
@ -45,4 +45,4 @@
on:mouseenter
on:mouseleave>
<slot />
</section>
</div>