Skip to content
This repository was archived by the owner on Sep 25, 2020. It is now read-only.

Commit c9488b4

Browse files
authored
Merge pull request #3 from hacknug/master
Fix escaping grid-gap incorrectly
2 parents 9887caf + b8828fa commit c9488b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/css-grid/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = function ({ grids = _.range(1, 12), gaps = {}, variants = ['res
66
{ '.grid': { display: 'grid' } },
77
{ '.grid-dense': { gridAutoFlow: 'dense' } },
88
..._.map(gaps, (size, name) => ({
9-
[`.grid-gap-${e(name)}`]: { gridGap: size },
9+
[`.${e(`grid-gap-${name}`)}`]: { gridGap: size },
1010
})),
1111
...grids.map(columns => ({
1212
[`.grid-columns-${columns}`]: {

0 commit comments

Comments
 (0)