]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix: flex-grid nested rows with collapse 8853/head
authorSaad Shahd <dev.saad.shahd@gmail.com>
Thu, 26 May 2016 12:36:53 +0000 (14:36 +0200)
committerSaad Shahd <dev.saad.shahd@gmail.com>
Sun, 29 May 2016 02:26:29 +0000 (04:26 +0200)
Undo the margin declaration for `.row .row.collapse`

Adds:
```CSS
.row .row.collapse {
  margin-left:
}
```

scss/grid/_flex-grid.scss

index 18910b26a4b87deb55e4464c45598702d5cbeeae..d8f33a640ff3d121e795261ed0353a3a144ef9a3 100644 (file)
     }
 
     &.collapse {
-      > .column { @include grid-col-collapse; }
+      > .column {
+        @include grid-col-collapse;
+        > .row {
+          margin-left: 0;
+          margin-right: 0;
+        }
+      }
     }
   }