diff --git a/modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css b/modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css index 92e604380e..84773f901e 100644 --- a/modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css +++ b/modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css @@ -228,7 +228,3 @@ color: #72777d; margin: 8px 24px; } - -.ve-ui-mwTransclusionDialog-multipart-message { - margin: 20px; -} diff --git a/modules/ve-mw/ui/styles/pages/ve.ui.MWTemplatePage-default.css b/modules/ve-mw/ui/styles/pages/ve.ui.MWTemplatePage-default.css index 5f073b28be..80432e3f01 100644 --- a/modules/ve-mw/ui/styles/pages/ve.ui.MWTemplatePage-default.css +++ b/modules/ve-mw/ui/styles/pages/ve.ui.MWTemplatePage-default.css @@ -23,3 +23,20 @@ .ve-ui-mwTemplatePage-description-missing { font-style: italic; } + +.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-menuLayout-content > .oo-ui-bookletLayout-stackLayout { + /* Wo don't want anything to collapse left/right, so shouldn't use margin */ + padding: 0 48px; +} + +.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout, +.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwTransclusionDialog-multipart-message { + /* This top/bottom margin is meant to collapse with the next one */ + margin: 48px 0; +} + +.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout, +.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwParameterPage-info, +.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwParameterPage-field { + padding: 0; +}