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: [],
|
slots: [],
|
||||||
events: [],
|
events: [],
|
||||||
rest_props: undefined,
|
rest_props: undefined,
|
||||||
|
typedefs: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -51,9 +52,7 @@
|
||||||
|
|
||||||
{#if component.props.length > 0}
|
{#if component.props.length > 0}
|
||||||
<div class="overflow">
|
<div class="overflow">
|
||||||
<StructuredList
|
<StructuredList flush condensed>
|
||||||
style="margin-left: calc(-1 * var(--cds-spacing-05)); margin-right: calc(-1 * var(--cds-spacing-05))"
|
|
||||||
>
|
|
||||||
<StructuredListHead>
|
<StructuredListHead>
|
||||||
<StructuredListRow head>
|
<StructuredListRow head>
|
||||||
<StructuredListCell head>Prop name</StructuredListCell>
|
<StructuredListCell head>Prop name</StructuredListCell>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue