mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-12 01:16:19 +00:00
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:
parent
7cea0c2b04
commit
4b7ba72c83
|
@ -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' ]
|
||||
|
|
Loading…
Reference in a new issue