Merge "Create wrapper for all junk below firstHeading, including nav stuff"

isekai
jenkins-bot 5 years ago committed by Gerrit Code Review
commit 30505c31e5

@ -126,6 +126,7 @@ class TimelessTemplate extends BaseTemplate {
], ],
$this->get( 'title' ) $this->get( 'title' )
) . ) .
Html::rawElement( 'div', [ 'id' => 'bodyContentOuter' ],
Html::rawElement( 'div', [ 'id' => 'siteSub' ], $this->getMsg( 'tagline' )->parse() ) . Html::rawElement( 'div', [ 'id' => 'siteSub' ], $this->getMsg( 'tagline' )->parse() ) .
Html::rawElement( 'div', [ 'id' => 'mw-page-header-links' ], Html::rawElement( 'div', [ 'id' => 'mw-page-header-links' ],
$this->getPortlet( $this->getPortlet(
@ -154,6 +155,7 @@ class TimelessTemplate extends BaseTemplate {
$this->get( 'bodytext' ) . $this->get( 'bodytext' ) .
$this->getClear() $this->getClear()
) )
)
); );
return Html::rawElement( 'div', [ 'id' => 'mw-content' ], $html ); return Html::rawElement( 'div', [ 'id' => 'mw-content' ], $html );

@ -22,7 +22,7 @@ body {
padding: 1em @content-padding 3em; padding: 1em @content-padding 3em;
} }
#mw-content-text { #bodyContentOuter {
/* Set a z-index for the content to group it away from any nav stuff (extensions) - T200148 */ /* Set a z-index for the content to group it away from any nav stuff (extensions) - T200148 */
position: relative; position: relative;
z-index: 0; z-index: 0;

Loading…
Cancel
Save