diff --git a/package.json b/package.json index 16ebfbd..caa48e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minuet", - "version": "0.8.0", + "version": "0.8.1", "description": "An experimental stylesheet library.", "homepage": "http://VARIANTE.github.io/minuet", "license": "MIT", diff --git a/src/sass/mixins/alignments.scss b/src/sass/mixins/alignments.scss index a359d63..74d627c 100644 --- a/src/sass/mixins/alignments.scss +++ b/src/sass/mixins/alignments.scss @@ -621,12 +621,12 @@ @if ($_direction == '>') or ($_direction == 'horizontal') or ($_direction == 'row') { &:not(:last-child) { - margin: 0 $value 0 0; + margin-right: $value; } } @else if ($_direction == 'v') or ($_direction == 'vertical') or ($_direction == 'column') { &:not(:last-child) { - margin: 0 0 $value 0; + margin-bottom: $value; } } } diff --git a/src/stylus/mixins/alignments.styl b/src/stylus/mixins/alignments.styl index e1298c6..50782d2 100644 --- a/src/stylus/mixins/alignments.styl +++ b/src/stylus/mixins/alignments.styl @@ -655,7 +655,7 @@ space-between($value, $direction='>') if $_direction == '>' or $_direction == 'horizontal' or $_direction == 'row' &:not(:last-child) - margin: 0 $value 0 0 + margin-right: $value else if $_direction == 'v' or $_direction == 'vertical' or $_direction == 'column' &:not(:last-child) - margin: 0 0 $value 0 + margin-bottom: $value