From efc7f7dd9a3cf941b210b437450f79cdc5a63c93 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 9 Aug 2018 17:54:53 +0100 Subject: [PATCH] search: Use @width-breakpoint-tablet instead of @deviceWidthTablet 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 --- .../src/mediawiki.special.search.interwikiwidget.styles.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/src/mediawiki.special.search.interwikiwidget.styles.less b/resources/src/mediawiki.special.search.interwikiwidget.styles.less index 8ec2735ea4..7265399a20 100644 --- a/resources/src/mediawiki.special.search.interwikiwidget.styles.less +++ b/resources/src/mediawiki.special.search.interwikiwidget.styles.less @@ -101,7 +101,7 @@ /* tablet and up */ - @media only screen and ( min-width: @deviceWidthTablet ) { + @media only screen and ( min-width: @width-breakpoint-tablet ) { #mw-interwiki-results { width: 30%; -- 2.20.1