]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Fix responsive padding for nested columns
authorStadly <magnar@myrtveit.com>
Thu, 25 Mar 2021 08:24:54 +0000 (09:24 +0100)
committerGitHub <noreply@github.com>
Thu, 25 Mar 2021 08:24:54 +0000 (09:24 +0100)
Nested padding should only be removed for the first and last column. This is already covered by https://github.com/Stadly/foundation-emails/commit/9b13d6512113f9163a3a7ab887f5b7842ae91269

scss/components/_media-query.scss

index 52c94fad18c389aba9c975294bf940a09b37121b..5e794f98482d6ecab7aeb32af66a929cd5f4216c 100755 (executable)
     box-sizing: border-box;
     padding-left: $global-gutter !important;
     padding-right: $global-gutter !important;
-
-    // Nested columns won't double the padding
-    .column,
-    .columns {
-      padding-left: 0 !important;
-      padding-right: 0 !important;
-    }
   }
 
   // Collpased columns have no gutter.