Skip to content

Commit

Permalink
Fix space-between
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Wei committed May 26, 2016
1 parent 0318d98 commit 8b4ec99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/sass/mixins/alignments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
4 changes: 2 additions & 2 deletions src/stylus/mixins/alignments.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8b4ec99

Please sign in to comment.