From 7fa95e5318ba5d8d65e8313a20ff5470e609c7ac Mon Sep 17 00:00:00 2001 From: ariellalgilmore Date: Fri, 27 Oct 2023 13:37:47 -0700 Subject: [PATCH] fix(content-item): updates --- .../styles/scss/internal/content-item/_content-item.scss | 2 +- .../__stories__/content-group-pictograms.stories.ts | 1 - .../src/components/cta-block/cta-block-item.ts | 6 ------ 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/styles/scss/internal/content-item/_content-item.scss b/packages/styles/scss/internal/content-item/_content-item.scss index 54332be0b3c..789b0f2b861 100644 --- a/packages/styles/scss/internal/content-item/_content-item.scss +++ b/packages/styles/scss/internal/content-item/_content-item.scss @@ -39,7 +39,7 @@ .#{$c4d-prefix}--content-item__statitics { @include type-style('fluid-display-01', true); - + margin-bottom: $spacing-05; } diff --git a/packages/web-components/src/components/content-group-pictograms/__stories__/content-group-pictograms.stories.ts b/packages/web-components/src/components/content-group-pictograms/__stories__/content-group-pictograms.stories.ts index 44e23f9f6f6..5a48daa0e99 100644 --- a/packages/web-components/src/components/content-group-pictograms/__stories__/content-group-pictograms.stories.ts +++ b/packages/web-components/src/components/content-group-pictograms/__stories__/content-group-pictograms.stories.ts @@ -10,7 +10,6 @@ import '../index'; import { html } from 'lit'; -import ArrowRight20 from '../../../internal/vendor/@carbon/web-components/icons/arrow--right/20'; import readme from './README.stories.mdx'; import textNullable from '../../../../.storybook/knob-text-nullable'; import styles from './content-group-pictograms.stories.scss'; diff --git a/packages/web-components/src/components/cta-block/cta-block-item.ts b/packages/web-components/src/components/cta-block/cta-block-item.ts index ee112922db7..31abe865af4 100644 --- a/packages/web-components/src/components/cta-block/cta-block-item.ts +++ b/packages/web-components/src/components/cta-block/cta-block-item.ts @@ -60,12 +60,6 @@ class C4DCTABlockItem extends StableSelectorMixin(C4DContentItem) { const { name } = target as HTMLSlotElement; const hasContent = (target as HTMLSlotElement) .assignedNodes() - .filter( - (elem) => - !(elem as HTMLElement).matches?.( - (this.constructor as typeof C4DCTABlockItem).selectorButtonGroup - ) - ) .some( (node) => node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim() );