From a3d6989cbcfdcfc2f639d588447e1509deee2952 Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Thu, 16 May 2019 16:22:50 -0500 Subject: [PATCH] fix(ResourceCard group): add support for nth child selectors --- .../src/components/ResourceCard/resource-card-group.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-theme-carbon/src/components/ResourceCard/resource-card-group.scss b/packages/gatsby-theme-carbon/src/components/ResourceCard/resource-card-group.scss index cc73b1cfa..b1711ce55 100644 --- a/packages/gatsby-theme-carbon/src/components/ResourceCard/resource-card-group.scss +++ b/packages/gatsby-theme-carbon/src/components/ResourceCard/resource-card-group.scss @@ -1,6 +1,6 @@ //Card groups // Set spacing to the right of the group -.resource-card-group .#{$prefix}--col-lg-4:nth-child(2) { +.resource-card-group .#{$prefix}--col-lg-4:nth-child(2n) { @include carbon--breakpoint('lg') { margin-right: 33%; }