mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-29 11:04:49 +00:00
Add global declaration to $prop assignment.
This commit is contained in:
parent
83bfaf14a8
commit
eecec1b7ce
2 changed files with 3 additions and 2 deletions
|
|
@ -126,6 +126,7 @@ Contributors
|
|||
* Tomas Olander
|
||||
* Andrew Tork Baker
|
||||
* Vincent Audebert
|
||||
* Jack Paine
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
|||
|
|
@ -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}) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue