search: Use @width-breakpoint-tablet instead of @deviceWidthTablet
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 9 Aug 2018 16:54:53 +0000 (17:54 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 9 Aug 2018 16:56:11 +0000 (17:56 +0100)
The file was already importing 'mediawiki.ui/variables', which
defines @width-breakpoint-tablet, but the code itself was still
referring to the deprecated @deviceWidthTablet global variable.

Bug: T140804
Change-Id: I112eb773871d73fde45e0e6bbe3f67baac747213

resources/src/mediawiki.special.search.interwikiwidget.styles.less

index 8ec2735..7265399 100644 (file)
 
        /* tablet and up */
 
-       @media only screen and ( min-width: @deviceWidthTablet ) {
+       @media only screen and ( min-width: @width-breakpoint-tablet ) {
 
                #mw-interwiki-results {
                        width: 30%;