Skip to content

Commit

Permalink
Modify space-between()
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Wei committed Apr 13, 2016
1 parent 1980b76 commit ee6aea1
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.4.2",
"version": "0.4.3",
"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 @@ -616,12 +616,12 @@
$_direction: quote($direction);

@if ($_direction == '>') or ($_direction == 'horizontal') or ($_direction == 'row') {
&:not(:last-of-type) {
&:not(:last-child) {
margin: 0 $value 0 0;
}
}
@else if ($_direction == 'v') or ($_direction == 'vertical') or ($_direction == 'column') {
&:not(:last-of-type) {
&:not(:last-child) {
margin: 0 0 $value 0;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/stylus/mixins/alignments.styl
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,8 @@ space-between($value, $direction='>')
$_direction = $direction

if $_direction == '>' or $_direction == 'horizontal' or $_direction == 'row'
&:not(:last-of-type)
&:not(:last-child)
margin: 0 $value 0 0
else if $_direction == 'v' or $_direction == 'vertical' or $_direction == 'column'
&:not(:last-of-type)
&:not(:last-child)
margin: 0 0 $value 0

0 comments on commit ee6aea1

Please sign in to comment.