Skip to content

Commit

Permalink
feat(ibmdotcom styles): remove react classes from content block segme…
Browse files Browse the repository at this point in the history
…nted
  • Loading branch information
sangeethababu9223 committed Dec 12, 2023
1 parent c21f653 commit 0c92396
Showing 1 changed file with 0 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,65 +22,8 @@
@include breakpoint(lg) {
padding-bottom: $spacing-13;
}

.#{$prefix}--content-block__cta-row {
margin-bottom: 0;
}

.#{$prefix}--layout-2-3 {
padding-left: 0;
}
}
}

.#{$prefix}--content-group__cta-row {
@include breakpoint-down(md) {
margin-left: 0;
}
}

.#{$prefix}--content-block__cta-row {
margin-bottom: $spacing-07;
@include breakpoint(lg) {
margin-bottom: $spacing-13;
}
}
}

// React specific classes to manage bottom spacing
.#{$prefix}--content-block-segmented {
&-border {
.#{$prefix}--content-block {
padding-bottom: 0;
}
}

.#{$prefix}--content-block__cta-row {
margin-bottom: 0;

&-border {
margin-bottom: $spacing-07;
@include breakpoint(lg) {
margin-bottom: $spacing-13;
}
}
}
}

:host(#{$c4d-prefix}-content-block-segmented)
.#{$prefix}--content-block__children
.#{$prefix}--content-block-segmented__media
::slotted(:not([slot])) {
display: block;
margin-top: $spacing-10;
margin-bottom: $spacing-10;
}

:host(#{$c4d-prefix}-content-block-segmented)
.#{$prefix}--content-block__children
.#{$prefix}--content-block-segmented__media
::slotted(:not([slot]):last-of-type) {
margin-bottom: 0;
}

.#{$prefix}--content-block-segmented .#{$prefix}--content-group {
Expand Down

0 comments on commit 0c92396

Please sign in to comment.