mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
SaveDialog: Remove scrollable property from nested panels
Scrolling is handled by oo-ui-window-body. Change-Id: If074b5de859b5a9dbad76d6715739e4d37e68c90
This commit is contained in:
parent
c36f3d2214
commit
956c28bf56
|
@ -553,10 +553,9 @@ ve.ui.MWSaveDialog.prototype.initialize = function () {
|
|||
ve.ui.MWSaveDialog.super.prototype.initialize.call( this );
|
||||
|
||||
// Properties
|
||||
this.panels = new OO.ui.StackLayout( { scrollable: true } );
|
||||
this.panels = new OO.ui.StackLayout( { scrollable: false } );
|
||||
this.savePanel = new OO.ui.PanelLayout( {
|
||||
expanded: false,
|
||||
scrollable: true,
|
||||
padded: true,
|
||||
classes: [ 've-ui-mwSaveDialog-savePanel' ]
|
||||
} );
|
||||
|
@ -643,7 +642,6 @@ ve.ui.MWSaveDialog.prototype.initialize = function () {
|
|||
// Review panel
|
||||
this.reviewPanel = new OO.ui.PanelLayout( {
|
||||
expanded: false,
|
||||
scrollable: true,
|
||||
padded: true
|
||||
} );
|
||||
|
||||
|
@ -675,7 +673,6 @@ ve.ui.MWSaveDialog.prototype.initialize = function () {
|
|||
// Preview panel
|
||||
this.previewPanel = new OO.ui.PanelLayout( {
|
||||
expanded: false,
|
||||
scrollable: true,
|
||||
padded: true
|
||||
} );
|
||||
this.$previewViewer = $( '<div>' ).addClass( 'mw-body-content mw-parser-output' );
|
||||
|
@ -687,7 +684,6 @@ ve.ui.MWSaveDialog.prototype.initialize = function () {
|
|||
// Conflict panel
|
||||
this.conflictPanel = new OO.ui.PanelLayout( {
|
||||
expanded: false,
|
||||
scrollable: true,
|
||||
padded: true
|
||||
} );
|
||||
this.$conflict = $( '<div>' ).addClass( 've-ui-mwSaveDialog-conflict' )
|
||||
|
|
Loading…
Reference in a new issue