mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
Merge "Fix sidebar bottom position when pressing Ctrl+Shift+E"
This commit is contained in:
commit
871dd4486c
|
@ -175,6 +175,7 @@ ve.ui.MWTransclusionDialog.prototype.addTemplatePlaceholder = function () {
|
|||
this.addPart( new ve.dm.MWTemplatePlaceholderModel( this.transclusionModel ) );
|
||||
this.autoExpandSidebar();
|
||||
this.bookletLayout.getOutlineControls().toggle( true );
|
||||
this.$element.removeClass( 've-ui-mwTransclusionDialog-single-transclusion' );
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -186,6 +187,7 @@ ve.ui.MWTransclusionDialog.prototype.addContent = function () {
|
|||
this.addPart( new ve.dm.MWTransclusionContentModel( this.transclusionModel ) );
|
||||
this.autoExpandSidebar();
|
||||
this.bookletLayout.getOutlineControls().toggle( true );
|
||||
this.$element.removeClass( 've-ui-mwTransclusionDialog-single-transclusion' );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -79,10 +79,13 @@
|
|||
right: 0;
|
||||
bottom: 2.5em;
|
||||
overflow: auto;
|
||||
/* Compensate for 2 * 2px padding on the .oo-ui-outlineControlsWidget + 1px border */
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-single-transclusion .ve-ui-mwTemplateDialog-pocSidebar-debug-container {
|
||||
bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.ve-ui-mwTemplateDialog-pocSidebar-debug-container > .oo-ui-outlineSelectWidget {
|
||||
|
|
Loading…
Reference in a new issue