From eecec1b7cee645e65fc454929a54663875ec3fc9 Mon Sep 17 00:00:00 2001 From: kapito Date: Tue, 26 Apr 2016 16:22:20 +0100 Subject: [PATCH] Add global declaration to $prop assignment. --- CONTRIBUTORS.rst | 1 + .../wagtailadmin/static_src/wagtailadmin/scss/userbar.scss | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 9b1a00b4fb..81df3ce0f8 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -126,6 +126,7 @@ Contributors * Tomas Olander * Andrew Tork Baker * Vincent Audebert +* Jack Paine Translators =========== diff --git a/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss b/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss index bb3090aa06..78811dfec5 100644 --- a/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss +++ b/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss @@ -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}) {