From: Andy Cochran Date: Fri, 15 Apr 2016 17:03:59 +0000 (-0400) Subject: remove margin bottom from :last-child of .media-object-section X-Git-Tag: v6.2.2-rc1~58^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8614%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git remove margin bottom from :last-child of .media-object-section --- diff --git a/scss/components/_media-object.scss b/scss/components/_media-object.scss index 00e615e84..54d456d18 100644 --- a/scss/components/_media-object.scss +++ b/scss/components/_media-object.scss @@ -46,6 +46,10 @@ $mediaobject-image-width-stacked: 100% !default; &:last-child:not(:nth-child(2)) { padding-#{$global-left}: $padding; } + + & > :last-child { + margin-bottom: 0; + } } /// Adds styles to stack sections of a media object. Apply this to the section elements, not the container.