mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
style(component-api): use flush, condensed structured list for prop table
This commit is contained in:
parent
c647cb27a7
commit
6d168baa51
1 changed files with 2 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
|||
slots: [],
|
||||
events: [],
|
||||
rest_props: undefined,
|
||||
typedefs: [],
|
||||
};
|
||||
|
||||
import {
|
||||
|
@ -51,9 +52,7 @@
|
|||
|
||||
{#if component.props.length > 0}
|
||||
<div class="overflow">
|
||||
<StructuredList
|
||||
style="margin-left: calc(-1 * var(--cds-spacing-05)); margin-right: calc(-1 * var(--cds-spacing-05))"
|
||||
>
|
||||
<StructuredList flush condensed>
|
||||
<StructuredListHead>
|
||||
<StructuredListRow head>
|
||||
<StructuredListCell head>Prop name</StructuredListCell>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue