Add global declaration to $prop assignment.

This commit is contained in:
kapito 2016-04-26 16:22:20 +01:00 committed by Matt Westcott
parent ad7264fffb
commit 15e5225d4b
2 changed files with 3 additions and 2 deletions

View file

@ -116,6 +116,7 @@ Contributors
* Juha Kujala
* Eirik Krogstad
* Rob Moorman
* Jack Paine
Translators
===========

View file

@ -299,11 +299,11 @@ $positions: (
@for $i from 1 through $max-items {
@if $vertical == 'bottom' {
$prop: 'nth-last-child';
$prop: 'nth-last-child' !global;
}
@if $vertical == 'top' {
$prop: 'nth-child';
$prop: 'nth-child' !global;
}
&:#{unquote($prop)}(#{$i}) {