Jack Phoenix has uploaded a new change for review.
https://gerrit.wikimedia.org/r/220724
Change subject: Set viewport to actually make the responsiveness work as
intended
......................................................................
Set viewport to actually make the responsiveness work as intended
Change-Id: I7425c336ef7faa6a1f843f7850c4a53576eaaab9
---
M Gamepress.skin.php
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Gamepress
refs/changes/24/220724/1
diff --git a/Gamepress.skin.php b/Gamepress.skin.php
index 26f0bb6..987d229 100644
--- a/Gamepress.skin.php
+++ b/Gamepress.skin.php
@@ -19,6 +19,17 @@
$template = 'GamepressTemplate', $useHeadElement = true;
/**
+ * Initializes OutputPage and sets up skin-specific parameters
+ *
+ * @param OutputPage $out
+ */
+ public function initPage( OutputPage $out ) {
+ parent::initPage( $out );
+
+ $out->addMeta( 'viewport', 'width=device-width;' );
+ }
+
+ /**
* @param $out OutputPage
*/
function setupSkinUserCss( OutputPage $out ) {
--
To view, visit https://gerrit.wikimedia.org/r/220724
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7425c336ef7faa6a1f843f7850c4a53576eaaab9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Gamepress
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits