Skip to content

Commit

Permalink
Merge pull request #1 from svale/patch-1
Browse files Browse the repository at this point in the history
Fix escaping grid-gap incorrectly
  • Loading branch information
chrisrowe authored Sep 26, 2018
2 parents a9fbc9d + 650cc7e commit 762f76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function ({ grids = _.range(1, 12), gaps = {}, variants = ['res
{ '.grid': { display: 'grid' } },
{ '.grid-dense': { gridAutoFlow: 'dense' } },
..._.map(gaps, (size, name) => ({
[`.grid-gap-${e(name)}`]: { gridGap: size },
[`.${e(`grid-gap-${name}`)}`]: { gridGap: size },
})),
...grids.map(columns => ({
[`.grid-columns-${columns}`]: {
Expand Down

0 comments on commit 762f76c

Please sign in to comment.