]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Don't collapse columns with large-offset (fix #307) 777/head
authorJay Sitter <jsitter@mit.edu>
Fri, 26 May 2017 18:03:17 +0000 (14:03 -0400)
committerJay Sitter <jsitter@mit.edu>
Fri, 26 May 2017 18:03:17 +0000 (14:03 -0400)
scss/grid/_grid.scss

index ea81daa2308b2727f726f42159593984c07bcb54..29b2e73abb3a91a0cf507aab69ad29c474cf6d21 100755 (executable)
@@ -116,12 +116,14 @@ th.column {
   }
 
   //Collapsed logic
-  .collapse {
-    > tbody > tr > td.large-#{$i},
-    > tbody > tr > th.large-#{$i} {
-      padding-right: 0;
-      padding-left: 0;
-      width: -zf-grid-calc-px($i, $grid-column-count, $global-width) + $global-gutter;
+  .collapse > tbody > tr {
+    > td.large-#{$i},
+    > th.large-#{$i} {
+      &:not([class*=large-offset]) {
+        padding-right: 0;
+        padding-left: 0;
+        width: -zf-grid-calc-px($i, $grid-column-count, $global-width) + $global-gutter;
+      }
     }
 
     //Gotta give it that extra love for the first and last columns.