Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/197948

Change subject: Add content class to error pages
......................................................................

Add content class to error pages

Don't cramp the error message to the sides of the screen.

Change-Id: I0a110a979bfe716622d938f1f1deb23d77486e33
---
M includes/views/NoPublic.php
M includes/views/NotFound.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/48/197948/1

diff --git a/includes/views/NoPublic.php b/includes/views/NoPublic.php
index 5047d1f..ffacbb7 100644
--- a/includes/views/NoPublic.php
+++ b/includes/views/NoPublic.php
@@ -23,7 +23,7 @@
         * @inheritdoc
         */
        public function getHtml() {
-               $html = Html::openElement( 'div', array( 'class' => 'collection 
not-found' ) );
+               $html = Html::openElement( 'div', array( 'class' => 'collection 
not-found content' ) );
                $html .= Html::element( 'span', array( 'class' => 'mw-ui-anchor 
mw-ui-destructive' ),
                        wfMessage( 'gather-no-public-lists-description' 
)->text() );
                $html .= Html::closeElement( 'div' );
diff --git a/includes/views/NotFound.php b/includes/views/NotFound.php
index bab6e53..33ca35c 100644
--- a/includes/views/NotFound.php
+++ b/includes/views/NotFound.php
@@ -24,7 +24,7 @@
         */
        public function getHtml() {
                // FIXME: Showing generic not found error right now. Show user 
not found instead
-               $html = Html::openElement( 'div', array( 'class' => 'collection 
not-found' ) );
+               $html = Html::openElement( 'div', array( 'class' => 'collection 
not-found content' ) );
                $html .= Html::element( 'span', array( 'class' => 'mw-ui-anchor 
mw-ui-destructive' ),
                        wfMessage( 'mobile-frontend-generic-404-desc' )->text() 
);
                $html .= Html::closeElement( 'div' );

-- 
To view, visit https://gerrit.wikimedia.org/r/197948
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a110a979bfe716622d938f1f1deb23d77486e33
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to