style(component-api): use flush, condensed structured list for prop table

This commit is contained in:
Eric Y Liu 2021-07-03 15:06:44 -07:00
commit 6d168baa51

View file

@ -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>