jenkins-bot has submitted this change and it was merged. 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(-) Approvals: Jack Phoenix: Looks good to me, approved jenkins-bot: Verified 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: merged Gerrit-Change-Id: I7425c336ef7faa6a1f843f7850c4a53576eaaab9 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/Gamepress Gerrit-Branch: master Gerrit-Owner: Jack Phoenix <j...@countervandalism.net> Gerrit-Reviewer: Jack Phoenix <j...@countervandalism.net> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits