Vector: Fix missing tab images on Special:Preferences
authorBartosz Dziewoński <matma.rex@gmail.com>
Sun, 3 Aug 2014 19:13:54 +0000 (21:13 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sun, 3 Aug 2014 19:13:54 +0000 (21:13 +0200)
This fixes an issue in vector when you go to special preference the
images would not load. That is because you needed to add ../ to the
file path.

This follows up If248781e44300039eb52262d03b2f6722838dd12

Change-Id: Iee3303eb1288ad5fc9e5a39e4854774a6da375ff

skins/Vector/skinStyles/mediawiki.special.preferences.less

index 592a64d..c463718 100644 (file)
@@ -14,7 +14,7 @@
        clear: both;
        margin: 0 !important;
        padding: 0 !important;
-       .background-image('images/preferences/break.png');
+       .background-image('../images/preferences/break.png');
        background-position: bottom left;
        background-repeat: no-repeat;
 
@@ -28,7 +28,7 @@
                white-space: nowrap;
                list-style-type: none;
                list-style-image: none;
-               .background-image('images/preferences/break.png');
+               .background-image('../images/preferences/break.png');
                background-position: bottom right;
                background-repeat: no-repeat;
 
@@ -39,7 +39,7 @@
 
                &.selected {
                        a {
-                               .background-image('images/preferences/fade.png');
+                               .background-image('../images/preferences/fade.png');
                                background-position: bottom;
                                background-repeat: repeat-x;
                                color: #333;