jenkins-bot has submitted this change and it was merged.
Change subject: Make the zerodot landing page occupy the viewport width.
......................................................................
Make the zerodot landing page occupy the viewport width.
Change-Id: I88999f39eeab4ae041037246ce1d036b16924fff
---
M includes/ZeroSpecialPage.php
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Yurik: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/ZeroSpecialPage.php b/includes/ZeroSpecialPage.php
index 516b905..d09a38e 100644
--- a/includes/ZeroSpecialPage.php
+++ b/includes/ZeroSpecialPage.php
@@ -218,8 +218,10 @@
$output = Html::htmlHeader( array( 'lang' => $lang, 'dir' =>
$dir ) );
$output .= Html::openElement( 'head' );
$output .= Html::element( 'meta', array( 'charset' =>'UTF-8' )
);
+ $output .= Html::element( 'meta', array( 'name' => 'viewport',
+ 'content' =>'width=device-width' ) );
$output .= Html::element( 'title', null, $wgSitename );
- $output .= Html::element( 'style', null,
'body{text-align:center} #center{width:200px;margin:0 auto} hr{width:100%}
p,small {font-family:Tahoma,sans-serif}' );
+ $output .= Html::element( 'style', null,
'body{text-align:center} #center{width:100%;margin:0 auto}
hr{width:80%;height:1px} p,small {font-family:Tahoma,sans-serif}' );
$output .= Html::element( 'link', array( 'rel' => 'shortcut
icon', 'href' => '#' ) );
$output .= Html::closeElement( 'head' );
$output .= Html::openElement( 'body', array( 'onLoad' =>
'document.searchform.search.focus();' ) );
--
To view, visit https://gerrit.wikimedia.org/r/150698
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I88999f39eeab4ae041037246ce1d036b16924fff
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ZeroBanner
Gerrit-Branch: master
Gerrit-Owner: Dr0ptp4kt <[email protected]>
Gerrit-Reviewer: Yurik <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits