Hoo man has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/171862

Change subject: Move the linkItem dialog to the top
......................................................................

Move the linkItem dialog to the top

Having it horizontally centered might make it overflow
in the second step (where the dialog gets larger).

Bug: 72687
Change-Id: I4b1be1f6c5ace22f46081ce487e69155306c56f0
---
M client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/62/171862/1

diff --git a/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js 
b/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
index e1bc376..84dd9bc 100644
--- a/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
+++ b/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
@@ -161,6 +161,7 @@
                                title: mw.message( 'wikibase-linkitem-title' 
).escaped(),
                                width: 500,
                                resizable: false,
+                               position: { my: "top", at: "center", of: 
mw.util.$content },
                                buttons: [ {
                                        text: mw.msg( 
'wikibase-linkitem-linkpage' ),
                                        id: 'wbclient-linkItem-goButton',

-- 
To view, visit https://gerrit.wikimedia.org/r/171862
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b1be1f6c5ace22f46081ce487e69155306c56f0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to