mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 10:11:45 +00:00
Merge "Fix toolbar dialog placement"
This commit is contained in:
commit
6650eb56cd
|
@ -73,7 +73,10 @@ CommentTarget.static.importRules.external.blacklist = ve.extendObject(
|
||||||
);
|
);
|
||||||
|
|
||||||
CommentTarget.prototype.attachToolbar = function () {
|
CommentTarget.prototype.attachToolbar = function () {
|
||||||
this.replyWidget.$headerWrapper.prepend( this.getToolbar().$element );
|
this.replyWidget.$headerWrapper.append(
|
||||||
|
this.getToolbar().$element.append( this.replyWidget.modeTabSelect.$element )
|
||||||
|
);
|
||||||
|
this.getToolbar().$element.prepend( this.getSurface().getToolbarDialogs().$element );
|
||||||
};
|
};
|
||||||
|
|
||||||
CommentTarget.prototype.getSurfaceConfig = function ( config ) {
|
CommentTarget.prototype.getSurfaceConfig = function ( config ) {
|
||||||
|
|
|
@ -31,10 +31,15 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-headerWrapper {
|
.ve-ui-targetToolbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
// Allow wrapping when the space is very narrow (mode switcher above toolbar)
|
// Allow wrapping when the space is very narrow (mode switcher above toolbar)
|
||||||
flex-wrap: wrap-reverse;
|
flex-wrap: wrap-reverse;
|
||||||
|
|
||||||
|
> .oo-ui-windowManager {
|
||||||
|
flex-basis: 100%;
|
||||||
|
box-shadow: 0 -1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-modeTabs {
|
&-modeTabs {
|
||||||
|
|
Loading…
Reference in a new issue