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

Commit

Permalink
Merge pull request #29 from IBM/fixes
Browse files Browse the repository at this point in the history
fix(sketch): fix #13, sketch file generated even if gutters use vw units
  • Loading branch information
seejamescode authored Mar 1, 2018
2 parents d47f72d + e570eeb commit c5c3ff2
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
Binary file modified examples/bootstrap/css-gridish/bootstrap-grid.sketch
Binary file not shown.
Binary file modified examples/carbon/css-gridish/bx-grid.sketch
Binary file not shown.
Binary file modified examples/material/css-gridish/material-grid.sketch
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "css-gridish",
"version": "1.0.6",
"version": "1.0.7",
"description":
"Automatically build your grid design’s CSS Grid code, CSS Flexbox fallback code, Sketch artboards, and Chrome extension.",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ gulp.task("sketchPage", ["sketchFiles"], function() {
const values = sorted[i];
const width = values.breakpoint * config.rem;
const margin = parseUnit(values.margin, width);
const gutter = parseUnit(values.gutter);
const gutter = parseUnit(values.gutter, width);
const gridWidth = width - margin * 2;
const gutterWidth = gutter;

Expand Down

0 comments on commit c5c3ff2

Please sign in to comment.