Last active
August 12, 2024 18:30
-
-
Save andy-blum/119921f4516759e519b5ee6c7b85fc12 to your computer and use it in GitHub Desktop.
Carbon CSS Issue Solutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use '@carbon/ibmdotcom-styles/scss/globals/utils/content-width' as *; | |
.aem--card__copy { | |
@include content-width; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use '@carbon/styles/scss/type' as *; | |
@use '@carbon/styles/scss/spacing' as *; | |
@use '@carbon/styles/scss/themes' as *; | |
@use '@carbon/styles/scss/theme' as * with ( | |
$theme: $white | |
); | |
.aem--content-block__heading { | |
@include type-style('expressive-heading-05', true); | |
color: $text-primary; | |
margin-bottom: $spacing-07; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.aem--image__img { | |
width: 100%; | |
height: 100%; | |
object-fit: cover; | |
display: block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment