Skip to content
This repository was archived by the owner on Sep 25, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix escaping grid-gap incorrectly
  • Loading branch information
hacknug committed Jul 24, 2018
commit b8828fad3a26b1964606eba99ee8de5adb34c020
2 changes: 1 addition & 1 deletion plugins/css-grid/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