mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "Replace call to setToolbarHeight with setPadding"
This commit is contained in:
commit
603223152c
|
@ -301,7 +301,7 @@ ve.init.mw.MobileArticleTarget.prototype.adjustContentPadding = function () {
|
|||
var toolbarHeight = this.getToolbar().$element.outerHeight(),
|
||||
surface = this.getSurface(),
|
||||
surfaceView = surface.getView();
|
||||
surface.setToolbarHeight( toolbarHeight );
|
||||
surface.setPadding( { top: toolbarHeight } );
|
||||
surfaceView.$attachedRootNode.css( 'padding-top', toolbarHeight );
|
||||
surface.$placeholder.css( 'padding-top', toolbarHeight );
|
||||
surfaceView.emit( 'position' );
|
||||
|
|
Loading…
Reference in a new issue