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

Commit b8828fa

Browse files
committed
Fix escaping grid-gap incorrectly
1 parent 9887caf commit b8828fa

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)