mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Merge "MobileArticleTarget: Avoid jittering while scrolling"
This commit is contained in:
commit
cf08e7f70a
|
@ -65,6 +65,11 @@
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ve-init-mw-mobileArticleTarget-toolbar-popups {
|
||||
// Avoid jittering while scrolling (T209192)
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 767px ) {
|
||||
.ve-init-mw-target-surface > .ve-ui-surface-placeholder > * {
|
||||
/* Fix margin overlap */
|
||||
|
|
|
@ -521,6 +521,7 @@ ve.init.mw.MobileArticleTarget.prototype.setupToolbar = function ( surface ) {
|
|||
|
||||
this.toolbar.$group.addClass( 've-init-mw-mobileArticleTarget-editTools' );
|
||||
this.toolbar.$element.addClass( 've-init-mw-mobileArticleTarget-toolbar' );
|
||||
this.toolbar.$popups.addClass( 've-init-mw-mobileArticleTarget-toolbar-popups' );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue