diff --git a/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js b/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js index 546cb35e..f5bb51f2 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js +++ b/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js @@ -103,8 +103,8 @@ mw.TemplateData.Dialog.prototype.initialize = function () { this.panels = new OO.ui.StackLayout( { continuous: false } ); - this.listParamsPanel = new OO.ui.PanelLayout( { scrollable: true } ); - this.editParamPanel = new OO.ui.PanelLayout(); + this.listParamsPanel = new OO.ui.PanelLayout( { padded: true, scrollable: true } ); + this.editParamPanel = new OO.ui.PanelLayout( { padded: true } ); this.languagePanel = new OO.ui.PanelLayout(); this.addParamPanel = new OO.ui.PanelLayout(); this.editMapsPanel = new OO.ui.PanelLayout(); @@ -182,7 +182,6 @@ mw.TemplateData.Dialog.prototype.initialize = function () { mapsListMenuLayout = new OO.ui.MenuLayout( { classes: [ 'mw-templateData-template-map-list-menu-panel' ], menuPosition: 'top', - padded: true, expanded: true, contentPanel: mapsListPanel, menuPanel: addNewMapButtonPanel diff --git a/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.css b/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.css index d815ef5d..2945f6e4 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.css +++ b/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.css @@ -12,10 +12,6 @@ margin-top: 0.5em; } -.tdg-templateDataDialog-panels .oo-ui-panelLayout { - padding: 1em; -} - .successbox, .errorbox { padding: 0.5em 1em;