diff --git a/packages/calcite-components/src/components/list-item/list-item.scss b/packages/calcite-components/src/components/list-item/list-item.scss index aee5b7569e0..0bcca595fed 100755 --- a/packages/calcite-components/src/components/list-item/list-item.scss +++ b/packages/calcite-components/src/components/list-item/list-item.scss @@ -201,7 +201,8 @@ td:focus { } } -::slotted(calcite-list-item) { +::slotted(calcite-list-item), +::slotted(calcite-list) { @apply border-solid border-0 border-t border-color-3; } diff --git a/packages/calcite-components/src/components/list/list.stories.ts b/packages/calcite-components/src/components/list/list.stories.ts index 5e4458ea756..2682ab042b8 100644 --- a/packages/calcite-components/src/components/list/list.stories.ts +++ b/packages/calcite-components/src/components/list/list.stories.ts @@ -934,3 +934,23 @@ export const filteredListItemsNoResults_TestOnly = (): string =>
Try a different fruit?
`; + +export const nestingLists_TestOnly = (): string => html`

Nesting List Items

+ + + + + + + +
+

Nesting Lists

+ + + + + + + + + `;