Fix LESS error, restore notifications and settings

T140804 dropped the support for deviceTabletWidth in core
(https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/451648/9/includes/DefaultSettings.php)

This causes errors in these skinStyle files which are presumably not
being checked with CI.

Update these usages to use width-breakpoint-tablet instead

Bug: T202021
Change-Id: Ie804f24275c99c939687d59cca9d62204fd74518
This commit is contained in:
jdlrobson 2018-08-15 12:10:51 -07:00
parent 1d63e15cec
commit 7eab78cb5e
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
@import '../../minerva.less/minerva.mixins';
// Hacks to render galleries and multicol tables better on mobile
@media all and ( max-width: @deviceWidthTablet ) {
@media all and ( max-width: @width-breakpoint-tablet ) {
// Center images that might be less than the screen width.
// Image will appear centered and caption will take up full screen.

View File

@ -9,7 +9,7 @@
}
}
@media all and ( min-width: @deviceWidthTablet ) {
@media all and ( min-width: @width-breakpoint-tablet ) {
.notifications-overlay {
.mw-echo-notification {
padding: 1.75em @contentPaddingTablet;

View File

@ -1,6 +1,6 @@
@import '../../minerva.less/minerva.variables';
@media all and ( min-width: @deviceWidthTablet ) {
@media all and ( min-width: @width-breakpoint-tablet ) {
.ns-special .pre-content {
background: #fff;