mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +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 () {
|
||||
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 ) {
|
||||
|
|
|
@ -31,10 +31,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
&-headerWrapper {
|
||||
.ve-ui-targetToolbar {
|
||||
display: flex;
|
||||
// Allow wrapping when the space is very narrow (mode switcher above toolbar)
|
||||
flex-wrap: wrap-reverse;
|
||||
|
||||
> .oo-ui-windowManager {
|
||||
flex-basis: 100%;
|
||||
box-shadow: 0 -1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
}
|
||||
}
|
||||
|
||||
&-modeTabs {
|
||||
|
|
Loading…
Reference in a new issue