Merge "Language alert box should use Html::noticeBox"

This commit is contained in:
jenkins-bot 2022-01-31 17:05:57 +00:00 committed by Gerrit Code Review
commit af39ad98ea
2 changed files with 4 additions and 4 deletions

View File

@ -678,9 +678,9 @@ class SkinVector extends SkinMustache {
// T295555 Add language switch alert message temporarily (to be removed).
if ( $this->shouldLanguageAlertBeInSidebar() ) {
$languageSwitchAlert = [
'html-content' => Html::rawElement( 'div',
[ 'class' => 'messagebox' ],
$this->msg( 'vector-language-redirect-to-top' )->parse()
'html-content' => Html::noticeBox(
$this->msg( 'vector-language-redirect-to-top' )->parse(),
'vector-language-sidebar-alert'
),
];
$headingOptions = [

View File

@ -38,7 +38,7 @@
}
// T295555 style overrides for temporary language switch alert (can be removed later ).
.messagebox {
.vector-language-sidebar-alert {
padding: 0.75em;
}
}