mediawiki-skins-Insurgency/resources
Bartosz Dziewoński 6c53b601f8 Use media queries rather than manual checks for mobile hacks
If the page was long enough to have a vertical scrollbar, the check
for `$( window ).width()` would be incorrect because of the width of
the scrollbar itself. The correct value is `$( window ).outerWidth()`.

But rather than deal with that, we can instead use the API
specifically for matching media queries [1], then copy-paste the
media query from CSS and not have to think about it at all!

[1] https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia

Bug: T227916
Change-Id: I79478040620391f5391b10aee52134fde0b88adf
2019-07-12 21:59:26 +02:00
..
images Remove list-style-image fallback treatment for non-SVG browsers 2019-04-07 23:15:31 -07:00
skinStyles build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2018-12-08 12:24:55 -08:00
IE60Fixes.css Remove obsolete Special:Preferences styles after its transformation to OOUI 2018-11-07 12:53:36 -08:00
IE70Fixes.css Restructure files according to modern skin practices 2018-03-21 21:56:55 +00:00
mobile-echo.js Use media queries rather than manual checks for mobile hacks 2019-07-12 21:59:26 +02:00
mobile-echo.less build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2018-12-08 12:24:55 -08:00
mobile-uls.js Use media queries rather than manual checks for mobile hacks 2019-07-12 21:59:26 +02:00
mobile.js Use media queries rather than manual checks for mobile hacks 2019-07-12 21:59:26 +02:00
mobile.js.less Fix disappearing page tab issue in mobile 2019-01-06 17:29:18 +00:00
screen-common.less Remove last references to the long-gone CSS classes .editExternally and .editExternallyHelp 2019-04-21 00:05:04 +03:00
screen-desktop.css When the personal bar doesn't fit, make overflowing links usable 2019-07-12 21:30:21 +02:00
screen-mobile.less Responsive support, JS edition 2018-05-19 20:17:17 +00:00
variables.less Responsive support, JS edition 2018-05-19 20:17:17 +00:00