Add global declaration to $prop assignment.

pull/2528/head
kapito 2016-04-26 16:22:20 +01:00 zatwierdzone przez Matt Westcott
rodzic 83bfaf14a8
commit eecec1b7ce
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -126,6 +126,7 @@ Contributors
* Tomas Olander
* Andrew Tork Baker
* Vincent Audebert
* Jack Paine
Translators
===========

Wyświetl plik

@ -298,11 +298,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}) {