Skip to content
Permalink
Browse files
fix & showing up on top level. fixes #170 fixes #145
  • Loading branch information
chinchang committed Nov 16, 2018
1 parent 33dfa50 commit 4d0e658b0e96f006aac1e729b439064a7c123f20
Showing 1 changed file with 2 additions and 2 deletions.
@@ -15,12 +15,12 @@
@if $position == top or $position == bottom {
// Loop further for classes like .top-left, bottom-right etc
@each $xDir in left, right {
&.#{$hintPrefix}#{$position}-#{$xDir}:before {
#{if(&, "&", "")}.#{$hintPrefix}#{$position}-#{$xDir}:before {
border-#{$position}-color: $color;
}
}
}
&.#{$hintPrefix}#{$position}:before {
#{if(&, "&", "")}.#{$hintPrefix}#{$position}:before {
border-#{$position}-color: $color;
}
}

0 comments on commit 4d0e658

Please sign in to comment.