mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(structured-list): change element from section to div
This commit is contained in:
parent
bf0f11ad98
commit
117dbcfc6f
2 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue