Skip to content

Commit

Permalink
fix(content-item): updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ariellalgilmore committed Oct 27, 2023
1 parent 8efde04 commit 7fa95e5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

.#{$c4d-prefix}--content-item__statitics {
@include type-style('fluid-display-01', true);

margin-bottom: $spacing-05;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
Expand Down

0 comments on commit 7fa95e5

Please sign in to comment.