mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-14 19:27:45 +00:00
Remove default padding from panels, uses padded:true/false instead
Change-Id: Ica6bed595d8f1b2ac7cb6f30d3081536b7e8561b
This commit is contained in:
parent
71627e9061
commit
d79e07f059
|
@ -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
|
||||
|
|
|
@ -12,10 +12,6 @@
|
|||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
.tdg-templateDataDialog-panels .oo-ui-panelLayout {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
.successbox,
|
||||
.errorbox {
|
||||
padding: 0.5em 1em;
|
||||
|
|
Loading…
Reference in a new issue