Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit c5c3ff2

Browse files
authored
Merge pull request #29 from IBM/fixes
fix(sketch): fix #13, sketch file generated even if gutters use vw units
2 parents d47f72d + e570eeb commit c5c3ff2

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "css-gridish",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description":
55
"Automatically build your grid design’s CSS Grid code, CSS Flexbox fallback code, Sketch artboards, and Chrome extension.",
66
"engines": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ gulp.task("sketchPage", ["sketchFiles"], function() {
211211
const values = sorted[i];
212212
const width = values.breakpoint * config.rem;
213213
const margin = parseUnit(values.margin, width);
214-
const gutter = parseUnit(values.gutter);
214+
const gutter = parseUnit(values.gutter, width);
215215
const gridWidth = width - margin * 2;
216216
const gutterWidth = gutter;
217217

0 commit comments

Comments
 (0)