Henning Snater has uploaded a new change for review.

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

Change subject: $.wikibase.entitysearch: Confine minimum width
......................................................................

$.wikibase.entitysearch: Confine minimum width

Requires https://github.com/wmde/ValueView/pull/120

Change-Id: I00ee0b25159e9b8a5f4ec9a80e2823e8b588fa8b
---
M repo/resources/wikibase.ui.entitysearch.js
1 file changed, 2 insertions(+), 1 deletion(-)


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

diff --git a/repo/resources/wikibase.ui.entitysearch.js 
b/repo/resources/wikibase.ui.entitysearch.js
index 572be51..511ffc9 100644
--- a/repo/resources/wikibase.ui.entitysearch.js
+++ b/repo/resources/wikibase.ui.entitysearch.js
@@ -122,7 +122,8 @@
                                {},
                                
$.wikibase.entityselector.prototype.options.position,
                                { offset: '-1 2' }
-                       )
+                       ),
+                       confineMinWidthTo: $form
                } )
                .on( 'entityselectoropen', function( event ) {
                        updateSuggestionSpecial();

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I00ee0b25159e9b8a5f4ec9a80e2823e8b588fa8b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Henning Snater <[email protected]>

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

Reply via email to