From f53108cf8bf5884b375c905fe5caaeac04910b37 Mon Sep 17 00:00:00 2001 From: Jarrod Flesch Date: Mon, 30 Mar 2020 16:43:02 -0400 Subject: [PATCH] styles the field-types inside a field group more specifically --- src/client/components/forms/field-types/Group/index.scss | 5 +---- src/client/components/layout/Section/index.scss | 7 +++++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/client/components/forms/field-types/Group/index.scss b/src/client/components/forms/field-types/Group/index.scss index a489a339fb..8d255db8b7 100644 --- a/src/client/components/forms/field-types/Group/index.scss +++ b/src/client/components/forms/field-types/Group/index.scss @@ -1,6 +1,3 @@ .field-group { - .field-type { - padding-left: 0; - padding-right: 0; - } + } diff --git a/src/client/components/layout/Section/index.scss b/src/client/components/layout/Section/index.scss index aec40f365c..273628392e 100644 --- a/src/client/components/layout/Section/index.scss +++ b/src/client/components/layout/Section/index.scss @@ -4,6 +4,13 @@ section.section { @include inputShadow; margin: base(1) 0; + &.field-group { + .section__content > div > .field-type { + padding-left: 0; + padding-right: 0; + } + } + .section__collapsible-header { border-bottom: 1px solid $light-gray; display: flex;