diff --git a/package.json b/package.json index bd5cdd2..fbbc242 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "smart-grid", - "version": "1.0.1", + "version": "1.0.3", "description": "Smart CSS Grid with different preprocessors: LESS, SCSS, SASS or Stylus", "main": "index.js", "dependencies": {}, diff --git a/system/base.js b/system/base.js index 41a96db..10061e1 100644 --- a/system/base.js +++ b/system/base.js @@ -7,12 +7,12 @@ function Base(resources) { row: { display: "flex", 'flex-wrap': "wrap", - 'margin-left': "{{var}}offset_one_side", - 'margin-right': "{{var}}offset_one_side" + 'margin-left': "({{var}}offset_one_side * -1)", + 'margin-right': "({{var}}offset_one_side * -1)" }, rowFloat: { - 'margin-left': "{{var}}offset_one_side", - 'margin-right': "{{var}}offset_one_side", + 'margin-left': "({{var}}offset_one_side * -1)", + 'margin-right': "({{var}}offset_one_side * -1)", '{{call}}clearfix()': null, }, column: {