sparkbox/sparkle

spacing and border spacing mixins for x-axis and y-axis are mixed up

anastasialanz opened this issue · 1 comments

I would expect x-axis to be left and right and y-axis to be top and bottom.

} @else if $side == 'x-axis' {
#{$prefix}top: $space;
#{$prefix}bottom: $space;
} @else if $side == 'y-axis' {
#{$prefix}right: $space;
#{$prefix}left: $space;
} @else {

} @else if $side == 'x-axis' {
border-top: $space;
border-bottom: $space;
} @else if $side == 'y-axis' {
border-right: $space;
border-left: $space;
} @else {

These tests look like they will need to be updated too.

x-axis: vrt,
y-axis: hrz

x-axis: vrt,
y-axis: hrz

x-axis: vrt,
y-axis: hrz

Fixed!