mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Tweak the hard coded top scroll padding for the parameter list"
This commit is contained in:
commit
2f555569ea
|
@ -91,5 +91,5 @@ ve.ui.MWTransclusionOutlineParameterWidget.prototype.toggleHasValue = function (
|
|||
ve.ui.MWTransclusionOutlineParameterWidget.prototype.scrollToView = function () {
|
||||
// make sure parameter is visible and scrolled underneath the sticky
|
||||
// TODO find a dynamic way to get height of the sticky part
|
||||
this.scrollElementIntoView( { animate: false, padding: { top: 115 } } );
|
||||
this.scrollElementIntoView( { animate: false, padding: { top: 114 } } );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue