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

View file

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