LedeSectionDialog: Fix double scrollbars in some cases

There's no need for this PanelLayout to be scrollable, as the dialog
body itself is scrollable, and this is causing an unnecessary
horizontal scrollbar to appear on some pages (for example
https://de.m.wikipedia.org/wiki/Wikipedia_Diskussion:Hauptseite).

Change-Id: I516cae8ca006b57360fe85a2eba099913b38ce84
This commit is contained in:
Bartosz Dziewoński 2023-02-16 01:04:14 +01:00
parent 7cea0c2b04
commit 4b7ba72c83

View file

@ -24,7 +24,6 @@ LedeSectionDialog.prototype.initialize = function () {
LedeSectionDialog.super.prototype.initialize.call( this );
this.contentLayout = new OO.ui.PanelLayout( {
scrollable: true,
padded: true,
expanded: false,
classes: [ 'ext-discussiontools-ui-ledeSectionDialog-content', 'mw-parser-output', 'content' ]